code: def module_path(name, path):
      # type: (AModuleName, AModulePath) -> ADefine
      
      define = Define(name, path)
      assert os.path.isdir(path), "%r doesn't exist" % path
      name = "malcolm.modules.%s" % name
      import_package_from_path(name, path)
      return define
docs: Load an external malcolm module (e.g. ADCore/etc/malcolm)