-3

Why isn't file reading permission in python with the open function of file object? Can anyone explain me?enter image description here

1 Answers1

2

This looks like you are trying to open a directory instead of a file.

Change your code so that you open a file by its name.

Lindsay Ward
  • 469
  • 4
  • 11