DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python get current file location
import os os.path.dirname(os.path.abspath(__file__))
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#python
#current
#file
#location
ADD COMMENT
Topic
COMMENT
Name
6+5 =
Submit