RosettaCodeData/Task/Check-that-file-exists/Python/check-that-file-exists.py
2016-12-05 22:15:40 +01:00

6 lines
113 B
Python

import os
os.path.isfile("input.txt")
os.path.isfile("/input.txt")
os.path.isdir("docs")
os.path.isdir("/docs")