def load_module(module_name):
  """Imports a module given its name and returns a handle to it."""
  try:
    __import__(module_name)
  except ImportError:
    raise ImportError('No module named %s' % module_name)
  return sys.modules[module_name]
dataset/ETHPy150Open austinwagner/sublime-sourcepawn/watchdog/utils/__init__.py/load_module/original