importlib.util.decode_source()
  • References/Python/Python/Importing

importlib.util.decode_source(source_bytes) Decode the given bytes representing source code and return it as a string with universal

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

is_package(fullname) Return True if the module specified by fullname is a package. Raise ZipImportError

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

has_location

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

@importlib.util.set_package A decorator for importlib.abc.Loader.load_module()

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

exec_module(module) Concrete implementation of Loader.exec_module(). New

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

loader

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

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

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

importlib.util.source_from_cache(path) Given the path to a

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

class importlib.abc.ExecutionLoader An abstract base class which inherits from InspectLoader that, when implemented

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

find_spec(fullname, target=None) An abstract method for finding a spec for the specified

2025-01-10 15:47:30