As python does not have concept of constants, would it be possible to raise an exception if an \'constant\' attribute is updated? How?
class MyClass():
If you really want to have constant that can't be changed then look at this: http://code.activestate.com/recipes/65207/