Programming Idiomatic Code

Nathan Harmston ratchetgrid at googlemail.com
Tue Jul 3 05:19:07 EDT 2007


HI,

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

Nathan

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 mailing list