What is PYTHONPATH in Python?

What is PYTHONPATH in Python?

Hello Tim-khorev,

PYTHONPATH is an environment variable that you can set to add additional directories where Python will look for modules and packages. This is especially useful in maintaining Python libraries that you do not wish to install in the global default location.