changing ides directory python 3.8 code example
Example 1: change directory in python script
os.chdir(os.path.dirname(__file__))
Example 2: how to change os path in python
os.chdir(path)
os.chdir(os.path.dirname(__file__))
os.chdir(path)