0 votes
in Technology by (326k points)

What is the purpose of PYTHONPATH environment variable?

1 Answer

0 votes
by (326k points)

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.

...