constant in python?

Brian Quinlan BrianQ at ActiveState.com
Fri Aug 17 17:44:01 EDT 2001


> i found a similar example on the net i was just making sure.
> seems kinda alot of work just to get a constant. even perl
> has "use constant" and thats about the ugliest language around :)

The questions is why do you need explicit language support for
constants? Just don't change the value and it should behave constant
enough for you.





More information about the Python-list mailing list