parameters: (self, path = None, profile = None)
docstring: Constructor.
docstring_summary: Constructor.
docstring_tokens: Constructor .
function: def __init__(self, path = None, profile = None):
          """Constructor."""
          if profile is None: profile = MH_PROFILE
          self.profile = os.path.expanduser(profile)
          if path is None: path = self.getprofile('Path')
          if not path: path = PATH
          if not os.path.isabs(path) and path[0] != '~':
              path = os.path.join('~', path)
          path = os.path.expanduser(path)
          if not os.path.isdir(path): raise Error, 'MH() path not found'
          self.path = path
function_tokens: def __init__ ( self , path = None , profile = None ) : if profile is None : profile = MH_PROFILE self . profile = os . path . expanduser ( profile ) if path is None : path = self . getprofile ( 'Path' ) if not path : path = PATH if not os . path . isabs ( path ) and path [ 0 ] != '~' : path = os . path . join ( '~' , path ) path = os . path . expanduser ( path ) if not os . path . isdir ( path ) : raise Error , 'MH() path not found' self . path = path