constant in python?
Alex Martelli
aleaxit at yahoo.com
Fri Aug 17 16:01:20 EDT 2001
"liam" <lcampbell at ubytes.com> wrote in message
news:Bmef7.269051$qv3.55520813 at nnrp5-w.sbc.net...
> is there a data type like the const in c/c++? ive been combing through the
> doc and it doesnt seem to have one or am i missing something somewhere?
A reasonably popular solution is my "Constants in Python" recipe at:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/65207
Alex
More information about the Python-list
mailing list