Python zmień katalog roboczy na katalog plików
import os
abspath = os.path.abspath(__file__)
dname = os.path.dirname(abspath)
os.chdir(dname)
Comfortable Cockroach
import os
abspath = os.path.abspath(__file__)
dname = os.path.dirname(abspath)
os.chdir(dname)
import os
os.chdir(new_working_directory)