code: def import_as(module, name):
      
      dir = os.path.split(__file__)[0]
      return imp.load_module(name, *imp.find_module(module, [dir]))
docs: Imports the specified module (from our local directory) as the
      specified name, returning the loaded module object.