I wanted to find out that when defining a class, the method does not execute, unlike a property. Thanks!
In your example, everything is very well explained, but for me it was news)))
If you may, then another question:
why without this line "root = tk.Tk()" at the beginning of the program this line "im_01 = ImageTk.PhotoImage(im)" is not executed? I thought it was a string from pil, and it was from Tk.
In your example, everything is very well explained, but for me it was news)))
If you may, then another question:
why without this line "root = tk.Tk()" at the beginning of the program this line "im_01 = ImageTk.PhotoImage(im)" is not executed? I thought it was a string from pil, and it was from Tk.