Congragulations heartily given. I missed the ternary op in c... Way to 
go! clean and easy and now i can do:

if ((sys.argv[1] =='debug') if len(sys.argv) > 1 else False):
        pass

and check variables IF AND ONLY if they exist, in a single line!

but y'all knew that..

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to