I can’t do this >
if f.tabs == None:
print 'no tabs!'
else:
print f.tabs
I think None is not a value here, tried False, 0, Null with no luck!
I can’t do this >
if f.tabs == None:
print 'no tabs!'
else:
print f.tabs
I think None is not a value here, tried False, 0, Null with no luck!
f.tabs
is always an array; you can check its length with len(f.tabs)
.