[Tutor] Const on Python

bob gailer bgailer at alum.rpi.edu
Thu Mar 6 04:34:45 CET 2008

Tiago Katcipis wrote:
> Its a simple question but i have found some trouble to find a good 
> answer to it, maybe i just dont searched enough but it wont cost 
> anything to ask here, and it will not cost to much to answer :-). 

Well there is a cost (at least to me) to read all the extra words that 
have nothing to do with the question.

I'd rather see:

"Is there a way to create a constant member, one that after 
assignment can't be reassigned?



> I have 
> started do develop on python and i really liked it, but im still 
> learning. Im used to develop on c++ and java and i wanted to know if 
> there is any way to create a final or const member, a member that after 
> assigned cant be reassigned. Thanks to anyone who tries to help me and 
> sorry to bother with a so silly question. i hope someday i can be able 
> to help :-)
> best regards
> katcipis
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor

Bob Gailer
919-636-4239 Chapel Hill, NC

More information about the Tutor mailing list