Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python file location path

import os

print('getcwd:      ', os.getcwd())
print('__file__:    ', __file__)
Source by note.nkmk.me #
 
PREVIOUS NEXT
Tagged: #python #file #location #path
ADD COMMENT
Topic
Name
6+4 =