Klaus Meyer: >C has enum to define named constant like: >enum { M0, M1, M2, MCOUNT }; >(MCOUNT gives the number of constants, nice for loops or so) > >How to do this in Python? http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/67107 -- René Pijlman Wat wil jij leren? http://www.leren.nl