does python support a C-like enum statement where one can define a variable with prespesified range of values?
thanks m.smadi
>>> BLUE, RED, GREEN = 1,5,8 >>> BLUE 1 >>> RED 5 >>> GREEN 8 -- http://mail.python.org/mailman/listinfo/python-list
does python support a C-like enum statement where one can define a variable with prespesified range of values?
thanks m.smadi
>>> BLUE, RED, GREEN = 1,5,8 >>> BLUE 1 >>> RED 5 >>> GREEN 8 -- http://mail.python.org/mailman/listinfo/python-list