DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
get current file location
import pathlib loc = pathlib.Path(__file__).parent.resolve() print(loc)
PREVIOUS
NEXT
Tagged:
#current
#file
#location
ADD COMMENT
Topic
COMMENT
Name
9+6 =
Submit