pikapython/examples/BuiltIn/file_nofound.py
2022-08-06 17:59:32 +08:00

5 lines
75 B
Python

try:
f = open("_no_file.txt", "r")
except:
print("File not found")