Re: [Tutor] Might be a silly question!

2005-02-11 Thread Alan Gauld
> 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

Re: [Tutor] Might be a silly question!

2005-02-11 Thread Bill Mill
Jeff, On Fri, 11 Feb 2005 10:03:30 -0500, Jeffrey Maitland <[EMAIL PROTECTED]> wrote: > > Hello all, > > I am drawing a blank right now and can't seem to find anything on it and I > am sure this issue has been addressed before, so here is the question. > > Can and if you can how do you set a va

[Tutor] Might be a silly question!

2005-02-11 Thread Jeffrey Maitland
Hello all, I am drawing a blank right now and can't seem to find anything on it and I am sure this issue has been addressed before, so here is the question. Can and if you can how do you set a variable as a constant? Example of what I mean: (this is loose and not python since variable type