How do I make a constant global variable in Python Please
jmassung at magpiesystems.com
Mon Apr 17 18:34:15 CEST 2000
Along the same lines... is there a way to say a variable must be declared
before use? I know Perl has something like this. I just want to avoid
something like this following:
ate = 1
# do something here
are = 1
This will loop infinitely just because of a typo (that if the above were
added I would get an error saying that "are" wasn't declared).
cmfinlay at magnet.com.au wrote in message ...
>How do I make a constant global variable in Python Please.
>or just a constant.
>or just a global.
>I bought a Python Book. however I can't find this info in it.
>Please e-mail me at cmfinlay at magnet.com.au
More information about the Python-list