Answers for "how to change python path"

0

how to change os path in python

os.chdir(path)
Posted by: Guest on July-17-2020
1

edit path variable using python

app_path = os.path.join(root_path, 'other', 'dir', 'to', 'app')
os.environ["PATH"] += os.pathsep + app_path
Posted by: Guest on September-12-2020

Code answers related to "how to change python path"

Python Answers by Framework

Browse Popular Code Answers by Language