Hi, 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? -- Gruß - regards Klaus :-)