Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python get the app path

print('basename:    ', os.path.basename(__file__))
print('dirname:     ', os.path.dirname(__file__))
Source by note.nkmk.me #
 
PREVIOUS NEXT
Tagged: #python #app #path
ADD COMMENT
Topic
Name
3+5 =