RosettaCodeData/Task/Check-that-file-exists/Python/check-that-file-exists.py

7 lines
113 B
Python

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