Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python set current working directory to script location python

import os

os.chdir(os.path.dirname(os.path.abspath(__file__)))
 
PREVIOUS NEXT
Tagged: #python #set #current #working #directory #script #location #python
ADD COMMENT
Topic
Name
1+8 =