code: def _load_module(module_name, path):
      '''A helper function invoked on the server to tell it to import a module.'''
      # TODO: handle the case that the module is already loaded
      try:
          # First try to find a non-builtin, non-frozen, non-special
          # module using the client's search path
          fd, filename, info = imp.find_module(module_name, path)
      except ImportError:
          # The above will fail for builtin, frozen, or special
          # modules. We search for those now...
          fd, filename, info = imp.find_module(module_name)
  
      # Now import the module given the info found above
      try:
          return imp.load_module(module_name, fd, filename, info)
      finally:
          if fd is not None:
              fd.close(f _load_module(module_name, path):
      '''A helper function invoked on the server to tell it to import a module.'''
      # TODO: handle the case that the module is already loaded
      try:
          # First try to find a non-builtin, non-frozen, non-special
          # module using the client's search path
          fd, filename, info = imp.find_module(module_name, path)
      except ImportError:
          # The above will fail for builtin, frozen, or special
          # modules. We search for those now...
          fd, filename, info = imp.find_module(module_name)
  
      # Now import the module given the info found above
      try:
          return imp.load_module(module_name, fd, filename, info)
      finally:
          if fd is not None:
              fd.close()
docs: A helper function invoked on the server to tell it to import a module.