Next »
File
(295/308)
« Previous
How to get parent directory
Access parent directory
import
os
print
os.pardir
# String name for parent (of current working directory)
Next »
« Previous
Home
»
Python
»
Advanced Features
»
Exception Handling
File
Module