I have one Problem in Python. I run my python file an in a file I open one .txt file.
file1 = open("/etc/hosts","a+")
That Time Got Traceback like this:
IOError: [Errno 13] Permission denied: '/etc/hosts'
How can I solve out this Error?
I have one Problem in Python. I run my python file an in a file I open one .txt file.
file1 = open("/etc/hosts","a+")
That Time Got Traceback like this:
IOError: [Errno 13] Permission denied: '/etc/hosts'
How can I solve out this Error?