Files

5 lines
78 B
Python

try:
f = open('myfile.txt')
except IOError as (errno, strerror):
pass