0
What is the purpose of PYTHONPATH environment variable?

Open 1 Answers 30 Views Technology

What is the purpose of PYTHONPATH environment variable?

1 Answer

0

PYTHONPATH - It has a role similar to PATH. This variable tells the Python interpreter where to locate the module files imported into a program. It should include the Python source library directory and the directories containing Python source code. PYTHONPATH is sometimes preset by the Python installer.

by (274k points)
...