c enum - how to do this in python?

Klaus Meyer km-news1 at onlinehome.de
Fri Feb 21 23:01:43 CET 2003


Hi Rene,

>> enum { M0, M1, M2, MCOUNT };
>> How to do this in Python?
>
> http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/67107

Thanks, but surprisingly complex in Python...

-- 
Gruß - regards Klaus :-)




More information about the Python-list mailing list