0

Why can't python find pictures? (Tkinter)

couldn't open "/Память устройства/Download/VK/Занятие 4/Доп. материалы/bg_2.png": no such file or directory I looked at the path to this file, inserted it into the code and it gave me this.

15th Jan 2023, 2:48 PM
python
4 Answers
+ 1
Try using only ASCII characters in path and filename. No Cyrillic. Not sure if this helps, but worth a try.
16th Jan 2023, 7:58 AM
Tibor Santa
Tibor Santa - avatar
0
what is your question ?
15th Jan 2023, 4:34 PM
iTech
iTech - avatar
0
The problem is that the file you are trying to open does not exist in the specified location. Make sure that the file is present in the correct directory and try again.
15th Jan 2023, 5:17 PM
Reza Mardani
Reza Mardani - avatar
0
I looked at the path to this file, inserted it into the code and it gave me this.
16th Jan 2023, 4:18 PM
python