Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python get parent directory

import os.path
os.path.dirname('C:Program Files')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #parent #directory
ADD COMMENT
Topic
Name
9+7 =