Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how the class works
#5
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.
Reply


Messages In This Thread
how the class works - by berckut72 - Mar-16-2020, 06:38 PM
RE: how the class works - by buran - Mar-16-2020, 06:45 PM
RE: how the class works - by berckut72 - Mar-16-2020, 06:48 PM
RE: how the class works - by buran - Mar-16-2020, 06:52 PM
RE: how the class works - by berckut72 - Mar-16-2020, 06:57 PM
RE: how the class works - by buran - Mar-16-2020, 09:43 PM
RE: how the class works - by berckut72 - Mar-17-2020, 05:04 AM
RE: how the class works - by buran - Mar-17-2020, 06:31 AM
RE: how the class works - by berckut72 - Mar-17-2020, 09:54 AM
RE: how the class works - by buran - Mar-17-2020, 09:56 AM
RE: how the class works - by berckut72 - Mar-17-2020, 10:03 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020