python change directory to running dir code example
Example 1: change working directory python
import os
os.chdir(new_working_directory)
Example 2: how to change os path in python
os.chdir(path)
import os
os.chdir(new_working_directory)
os.chdir(path)