What is the purpose of PYTHONPATH environment variable? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the purpose of PYTHONPATH environment variable?

13th Jun 2021, 1:35 PM
PAUL OGENEKEWEN EMUROTU
PAUL OGENEKEWEN EMUROTU - avatar
2 Answers
0
PYTHONPATH adds new paths to those that Python uses by default. The common path determines where Python will look for modules when they are imported.
13th Jun 2021, 3:16 PM
SammE
SammE - avatar