Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python how to get directory of script

import os
print(os.path.abspath(''))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #directory #script
ADD COMMENT
Topic
Name
8+8 =