'Exception has occurred: FileNotFoundError [Errno 2] No such file or directory:
for element in list1:
key = list1.index(element)
image = Image.open('Images/'+ element)
photo = ImageTk.PhotoImage(image)
I have tried so many things like specifying the directory but it hasn't done anything. What am I doing wrong?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
