-4

As the title says, load_workbook doesn't work. I tried using absolute path, but it didn't change anything and every documentation and tutorial I saw used relative path anyway and it worked perfectly. What is going on?

Yes, the file is in the right directory. https://imgur.com/g4IFuL5

I uploaded the image to prove that the file indeed is in the right directory, not to show my code.

  • 1
    no, it is not where it is searched for, else you would not get this error message. – Patrick Artner Mar 23 '19 at 14:37
  • Do I really have to repeat myself? Using absolute path does not work. The image was uploaded to prove that the directory and name are correct, but it seems like nobody believes me anyway, – Jarek Lubiński Mar 23 '19 at 15:21

1 Answers1

0

The problem was the file itself. I has to be created and saved using Excel.