Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python go back one using abspath

os.path.abspath(os.path.join(os.path.dirname( __file__ ), '..', 'templates'))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #abspath
ADD COMMENT
Topic
Name
3+3 =