Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python change cwd to script directory

os.chdir(os.path.dirname(os.path.abspath(__file__)))
 
PREVIOUS NEXT
Tagged: #python #change #cwd #script #directory
ADD COMMENT
Topic
Name
3+1 =