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

7 lines
115 B
Python

import os
os.path.exists("input.txt")
os.path.exists("/input.txt")
os.path.exists("docs")
os.path.exists("/docs")