What is PYTHONPATH ?

PYTHONPATH is an environmental variable, which is used when we import a module. If we import a module, PYTHONPATH is used to check the presence of the modules that are imported in different directories.

PYTHONPATH is used by the python interpreter to determine which modules to load.

Total Views: 481