style Q: global vars in CAPS?

Chris Liechti cliechti at gmx.net
Tue Apr 2 17:06:51 EST 2002


Andrei Kulakov <ak at silmarill.org> wrote in 
news:slrnaak4m7.u14.ak at ak.silmarill.org:
> What do you think about global variables spelled in caps? Is that what
> most people do?

i think most people write constants in all caps no matter if global if 
local vars. at least i do :-)

maybe your interested in Guido's thoughts on style in general:
http://www.python.org/doc/essays/styleguide.html
http://python.sourceforge.net/peps/pep-0008.html

-- 
Chris <cliechti at gmx.net>




More information about the Python-list mailing list