Python
Change working directory to current location
ddokkddokk
2023. 5. 18. 09:25
반응형
abspath = os.path.dirname(os.path.realpath(__file__))
os.chdir(Path(abspath).absolute())