Next »
File
(296/308)
« Previous
Directory Existance
How to check if a directory exists
import
os
print
os.path.exists(
"/dir1"
)
Next »
« Previous
Home
»
Python
»
Advanced Features
»
Exception Handling
File
Module