You can use the "chdir()" function to change the current working directory in Python. This function is part of the "os" module.
import os
os.getcwd() # current working directory
os.chdir('/new/working/directory') # Change current working directory
In the above chdir() function, change directory with your directory.