
Explanation:
The correct answer is sys.path.
The sys.path list in Python contains the strings that specify the search path for modules. When a module is imported, the interpreter searches these directories in the order they appear in the list. This variable is initialized from the PYTHONPATH environment variable and installation-dependent defaults, and it can be modified dynamically during execution.
importlib suite are used to locate and access resources (data files) within installed packages, not to define the search paths for the packages themselves.Ultimate access to all questions.
No comments yet.