0

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?

Underoos
  • 4,708
  • 8
  • 42
  • 85

0 Answers0