declare a constant in Python?

djw donald.welch at
Thu Sep 9 18:21:03 CEST 2004

beliavsky at wrote:

> I wish one could declare a constant in Python, analogous to 'const int
> i=1;' in C++. Is there a way to get this effect?

Google is your friend:

Smaller URL:


More information about the Python-list mailing list