DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
get root path python
import os abs_path = os.path.abspath() project_dir = os.path.dirname(abs_path)
PREVIOUS
NEXT
Tagged:
#root
#path
#python
ADD COMMENT
Topic
COMMENT
Name
8+2 =
Submit