Programming Idiomatic Code
ratchetgrid at googlemail.com
Tue Jul 3 11:19:07 CEST 2007
Thanks to everyone for your comments ( i never knew "with" existed,
but to quote Borat "I like", unfortunately I cant apply for the job as
i m in the UK and dont have the experience but hey 10 minutes of
programming python beats 12 hours of programming in Clipper-derived
unreadable drivel (you dont know how much I appreciate Python atm).
I have one question though:
Using a module global for this kind of data is usually a bad idea
(except eventually for run-once throw-away scripts, and even then...)
Why is this a bad idea?
Thanks in advance
PS I am very ashamed I wrote:
if (len(sys.argv)) is 1 ......................
I would ask that this is never spoken of again, oh well
off to work I go
More information about the Python-list