code: def import_from_path(path):
      
      module_name, class_name = path.rsplit('.', 1)
      try:
          return getattr(__import__(module_name, fromlist=[class_name]), class_name)
      except AttributeError:
          raise ImportError('Unable to import %s' % path)
docs: Import a class dynamically, given it's dotted path.
          :param path: the path of the module
          :type path: string
          :return: Return the value of the named attribute of object.
          :rtype: object