now you do not print anything.
your script should be something like:
...
nlsave('C:/Users/Lenovo/.vnl/example_project_2014.0/zigzag.nc', bandstructure)
#bandgap
ind_gap = bandstructure._indirectBandGap() .inUnitsOf(eV)
print ind_gap
Note that you can calculate the gap form the bandstructure even though you have already run the analysis.
In that case run:
bandstructure = nlread("zigzag.nc", Bandstructure)[-1]
#bandgap
ind_gap = bandstructure._indirectBandGap() .inUnitsOf(eV)
print ind_gap
cf. nlread, nlsave and bandstructure entries in the Reference Manual (http://www.quantumwise.com/documents/manuals/latest/ReferenceManual/index.html/index.html)