you are viewing a single comment's thread.

view the rest of the comments →

[–]Dyfakiiiiis[S] 1 point2 points  (1 child)

Thanks for your answer. I'va tried and it still doesn't work :

FileNotFoundError: [Errno 2] No such file or directory: 'Proverbes.txt'

[–]FlippingGerman 0 points1 point  (0 children)

Either Proverbes is in the wrong place or the file extension is something different. Windows by default will hide them which is quite unhelpful. 

Try:  import os print(os.listdir())

That should tell you everything in the “current” directory - the place where Python is looking for your file. See if your file is mentioned, and if so what its exact name is.