DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
get directory of file python
import os dir_path = os.path.dirname(os.path.realpath(__file__))
PREVIOUS
NEXT
Tagged:
#directory
#file
#python
ADD COMMENT
Topic
COMMENT
Name
5+1 =
Submit