DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
3+5 =
Submit