[python] errno-13-permission-denied (ps: could not read the file) #8574
Unanswered
SilverEdge99
asked this question in
Help
Replies: 2 comments
-
We're not a fix my code service. This question isn't even about PyInstaller. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi guys
I am a beginner at learning python. I encounter a problem when I try to use
f = open(r"C:\Users\XXXX\Desktop\record.text") to open a file on Desktop.
And the errors come out: Traceback (most recent call last):
File "<pyshell#168>", line 1, in
f = open(r"C:Users\XXXX\OneDrive\Desktop")
PermissionError: [Errno 13] Permission denied: 'C:Users\XXXX\OneDrive\Desktop'
I tried to check the permission on text security:
Can someone help, and give a solution to this problem?
Beta Was this translation helpful? Give feedback.
All reactions