Search
 
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
Name
8+2 =