importlib.abc.InspectLoader.get_source()
  • References/Python/Python/Importing

abstractmethod get_source(fullname) An abstract method to return the source of a module. It is returned as a text string using

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

get_source(fullname) Returns None as extension modules do not have source code.

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

set_data(path, data) Concrete implementation of importlib.abc.SourceLoader.set_data().

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

path_stats(path) Concrete implementation of importlib.abc.SourceLoader.path_stats().

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

archive The file name of the importer’s associated ZIP file, without a possible subpath.

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

find_module(fullname[, path]) Search for a module specified by fullname. fullname must be the fully qualified

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

create_module(spec) Creates the module object from the given specification in accordance with

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

invalidate_caches() An optional method which, when called, should invalidate any internal cache used by the finder. Used by

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

importlib.util.find_spec(name, package=None) Find the spec for a module, optionally relative

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

is_package(fullname) Determines if the module is a package based on path.

2025-01-10 15:47:30