importlib.machinery.ExtensionFileLoader.get_filename()
  • References/Python/Python/Importing

get_filename(fullname) Returns path. New

2025-01-10 15:47:30
importlib.machinery.ModuleSpec.name
  • References/Python/Python/Importing

name

2025-01-10 15:47:30
importlib.abc.Loader.create_module()
  • References/Python/Python/Importing

create_module(spec) A method that returns the module object to use when importing a module. This method may return None

2025-01-10 15:47:30
importlib.machinery.BuiltinImporter
  • References/Python/Python/Importing

class importlib.machinery.BuiltinImporter An importer for built-in modules. All known

2025-01-10 15:47:30
importlib.machinery.ModuleSpec.cached
  • References/Python/Python/Importing

cached

2025-01-10 15:47:30
modulefinder.ModuleFinder.run_script()
  • References/Python/Python/Importing

run_script(pathname) Analyze the contents of the pathname file, which must contain Python code.

2025-01-10 15:47:30
importlib.machinery.SourcelessFileLoader.name
  • References/Python/Python/Importing

name The name of the module the loader will handle.

2025-01-10 15:47:30
modulefinder.AddPackagePath()
  • References/Python/Python/Importing

modulefinder.AddPackagePath(pkg_name, path) Record that the package named pkg_name can be found in the specified path

2025-01-10 15:47:30
importlib.machinery.SourcelessFileLoader.path
  • References/Python/Python/Importing

path The path to the bytecode file.

2025-01-10 15:47:30
pkgutil.extend_path()
  • References/Python/Python/Importing

pkgutil.extend_path(path, name) Extend the search path for the modules which comprise a package. Intended use is to place the

2025-01-10 15:47:30