Anonymous user
Check that file exists: Difference between revisions
→{{header|Python}}
(added Fortran) |
|||
Line 220:
The ''os.path.exists'' method will return True if a path exists False if it does not.
<python>
import os
Line 226 ⟶ 227:
os.path.exists("docs")
os.path.exists("/docs")
</python>
=={{header|Raven}}==
|