Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python working directory executed file

import os

os.chdir(os.path.dirname(os.path.abspath(__file__)))
 
PREVIOUS NEXT
Tagged: #python #working #directory #executed #file
ADD COMMENT
Topic
Name
8+8 =