Changes

Jump to: navigation, search

OPS435 Python Lab 5

5 bytes added, 19 February
PART 1 - Handling Errors
f.write('hello world\n')
f.close()
except (FileNotFoundError, PermissionError, IsADirectoryIsADirectoryError):
print('failed to open file')
</source>
850
edits

Navigation menu