How do you create constants?
Rainer Deyke
root at rainerdeyke.com
Sat Oct 28 22:09:43 EDT 2000
"Grant Griffin" <not.this at seebelow.org> wrote in message
news:39FAF237.87444C5A at seebelow.org...
> However, unlike most other languages, Python doesn't have scalar
> constants; if you want those, you'll have to fake them somehow (as
> others have suggested.)
On the contrary, all Python scalars are constants (i.e. immutable).
However, the variables that refer to these scalars aren't.
--
Rainer Deyke (root at rainerdeyke.com)
Shareware computer games - http://rainerdeyke.com
"In ihren Reihen zu stehen heisst unter Feinden zu kaempfen" - Abigor
More information about the Python-list
mailing list