importlib.machinery.PathFinder.find_spec()
  • References/Python/Python/Importing

classmethod find_spec(fullname, path=None, target=None) Class method that attempts to find a spec

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

is_package(fullname) Returns True if the file path points to a package’s __init__ module based on

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

class importlib.abc.PathEntryFinder An abstract base class representing a path entry finder

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

class importlib.machinery.SourceFileLoader(fullname, path) A concrete implementation of importlib.abc.SourceLoader

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
importlib.machinery.SourceFileLoader.name
  • References/Python/Python/Importing

name The name of the module that this loader will handle.

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

path The path to the source file.

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

class importlib.machinery.SourcelessFileLoader(fullname, path) A concrete implementation of importlib.abc.FileLoader

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
importlib.util.resolve_name()
  • References/Python/Python/Importing

importlib.util.resolve_name(name, package) Resolve a relative module name to an absolute one. If

2025-01-10 15:47:30