modulefinder.ModuleFinder.report()
  • References/Python/Python/Importing

report() Print a report to standard output that lists the modules imported by the script and their paths, as well as modules

2025-01-10 15:47:30
importlib.machinery.SourceFileLoader.load_module()
  • References/Python/Python/Importing

load_module(name=None) Concrete implementation of importlib.abc.Loader.load_module() where specifying the name

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

submodule_search_locations

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

class importlib.machinery.WindowsRegistryFinder Finder for modules declared in the Windows

2025-01-10 15:47:30
zipimport.zipimporter.get_filename()
  • References/Python/Python/Importing

get_filename(fullname) Return the value __file__ would be set to if the specified module was imported. Raise

2025-01-10 15:47:30
zipimport.zipimporter.get_data()
  • References/Python/Python/Importing

get_data(pathname) Return the data associated with pathname. Raise

2025-01-10 15:47:30
importlib.machinery.PathFinder.invalidate_caches()
  • References/Python/Python/Importing

classmethod invalidate_caches() Calls importlib.abc.PathEntryFinder.invalidate_caches() on all finders stored in

2025-01-10 15:47:30
importlib.util.module_from_spec()
  • References/Python/Python/Importing

importlib.util.module_from_spec(spec) Create a new module based on spec and spec.loader.create_module()

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

class importlib.machinery.FrozenImporter An importer for frozen modules. This class implements

2025-01-10 15:47:30
importlib.abc.SourceLoader
  • References/Python/Python/Importing

class importlib.abc.SourceLoader An abstract base class for implementing source (and optionally bytecode) file loading. The

2025-01-10 15:47:30