SyntaxFix
Write A Post
Hire A Developer
Questions
you can set PYTHONPATH, by os.environ['PATHPYTHON']=/some/path, then you need to call os.system('python') to restart the python shell to make the newly added path effective.
PYTHONPATH
os.environ['PATHPYTHON']=/some/path
os.system('python')