text: # Copyright (c) 2018, Abhinav Jauhri, Martin Griss, Hakan Erdogmus
  # All rights reserved.
  # Licensed under the BSD 3-Clause license.
  # For full license text, see the LICENSE file in the repo root
  
  #Idea taken from Alex Martelli (http://code.activestate.com/recipes/65207-constants-in-python/?in=user-97991)
  class _const:
      class ConstError(TypeError): pass
      def __setattr__(self,name,value):
          if self.__dict__.has_key(name):
              raise self.ConstError, "Can't rebind const(%s)"%name
          self.__dict__[name]=value
  import sys
  sys.modules[__name__]=_const()
  