Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python cd to script directory

import os

os.chdir(os.path.dirname(__file__))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #cd #script #directory
ADD COMMENT
Topic
Name
8+7 =