[Python-Dev] C.E.R. Thoughts (original) (raw)
Andrew Koenig ark at acm.org
Mon Oct 10 15:26:04 CEST 2005
- Previous message: [Python-Dev] C.E.R. Thoughts
- Next message: [Python-Dev] C.E.R. Thoughts
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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!
Umm... Is this a joke?
- Previous message: [Python-Dev] C.E.R. Thoughts
- Next message: [Python-Dev] C.E.R. Thoughts
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]