feat: began problem-05 and created filename2.txt as reference for said problem.

This commit is contained in:
baphim
2026-09-13 16:18:06 -04:00
parent 264a89af65
commit 64c150cb78
2 changed files with 6 additions and 1 deletions
View File
+6 -1
View File
@@ -1 +1,6 @@
# Write a Python program that opens a file and handles a PermissionError exception if there is a permission issue. # Write a Python program that opens a file and handles a PermissionError exception if there is a permission issue.
try:
open('filename2.txt')
except PermissionError:
print('Insufficient file permissions')