In python, I am currently experimenting with what I can do with open
command. I tried to open a file, and got an error message. Here's my code:
open(r'C:\Users\****\Desktop\File1')
My error message was:
PermissionError: [Errno 13] Permission denied: 'C:\\Users\\****\\Desktop\\File1'
I looked on the website to try and find some answers and I saw a post where somebody mentioned chmod
. 1. I'm not sure what this is and 2. I don't know how to use it, and thats why I've come here.