importlib.machinery.SourcelessFileLoader.get_code()
  • References/Python/Python/Importing

get_code(fullname) Returns the code object for name created from path.

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

is_package(fullname) An abstract method to return a true value if the module is a package, a false value otherwise.

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.
  • References/Python/Python/Importing

importlib.__import__(name, globals=None, locals=None, fromlist=(), level=0) An implementation of the built-in

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

get_source(fullname) Returns None as bytecode files have no source when this loader is used.

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

get_source(fullname) Concrete implementation of InspectLoader.get_source().

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

modules A dictionary mapping module names to modules. See Example usage of ModuleFinder.

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

find_loader(fullname) Attempt to find the loader to handle fullname within path.

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

class importlib.util.LazyLoader(loader) A class which postpones the execution of the loader of a module until the module has

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

importlib.reload(module) Reload a previously imported module. The argument must be a module object, so it must have

2025-01-10 15:47:30