What is PYTHONPATH?
Share
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Please Disable the AdBlocker to Continue to the site.
It is an environment variable that is utilised when importing a module. When a module is imported, PYTHONPATH is checked to see if the imported modules are present in any of the directories. It is used by the interpreter to choose which module to load.