> Can and if you can how do you set a variable as a constant? 

Only by resorting to tricks involving classes and properties.
There is a cookbook recipe if I recall correctly.

Vanilla Python doesn't have the concept of constants other 
than as a naming convention (all uppercase). Its part of the 
"we are all consenting adults" approach.

Alan G.
_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to