In <[EMAIL PROTECTED]>, oluoluolu wrote: > I have been programming in Python for many years, and I generally have > run into alot of the same problems repeatedly. > > What is the consensus on these ideas please? > > * enums
There's a cookbook recipe: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/413486 And a package in the Chesseshop: http://cheeseshop.python.org/pypi/enum/0.4.1 > * constants People tend to write the names of constants all uppercase. Example:: ANSWER = 42 Ciao, Marc 'BlackJack' Rintsch -- http://mail.python.org/mailman/listinfo/python-list