mysteriously nonfunctioning script - very simple

Peter Hansen peter at engcorp.com
Sat Mar 26 06:55:32 EST 2005


Sean McIlroy wrote:
> Can anybody help me make sense of the fact that the following script
> doesn't work? It's so simple I can't imagine what I'm missing. Any
> help will be much appreciated.

Always post actual tracebacks of the problem, if
indeed it is producing a traceback.  Do this always
by *cut and paste*, not by retyping the text.  Make
sure not to remove anything important, and make sure
you are running the actual code you have posted here.

Also always describe the problem in more detail than
just "doesn't work".  For all we know, the code runs
fine but its output just doesn't suit you...

-Peter



More information about the Python-list mailing list