[Python-Dev] C.E.R. Thoughts

Technical Support of Intercable Co support at intercable.ru
Tue Oct 11 08:57:03 CEST 2005


And why not
if len(sys.argv) > 1 take sys.argv[1] == 'debug':
    ...

It was not so bad :-)

A = len(sys.argv)==0 take None or sys.argv[1]

Sorry for being noisy :-)




More information about the Python-Dev mailing list