Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to open Python?
#41
Here is a link to a newer tutorial Python GUI Programming With Tkinter
At a later point, you can implement the GUI code using classes for a better way to organise related data/methods together.
Reply
#42
(Jun-25-2021, 05:12 PM)Yoriz Wrote: Here is a link to a newer tutorial Python GUI Programming With Tkinter
At a later point, you can implement the GUI code using classes for a better way to organise related data/methods together.

Thanks @Yoriz. Ive now analyzed all the changes youve made & understand things better now.

It would help me a lot if I could find a site that explained each function for example;

from tkinter import * = From means that you're importing something from a library, Tkinter is the name of that library. Import * means everything.
from tkinter.filedialog import asksaveasfilename =
root = Tk("Text Editor") =
text = Text(root) =
text.grid() =
In other words I want a list of "everything" that can be inserted into a Python program. Hopefully Python issues such a site.

I have done a little research on tkinter but it hasnt explained extensively.
Reply
#43
Please see Namespace flooding with * imports
Graphical User Interfaces with Tk
TkDocs Home
Reply


Forum Jump:

User Panel Messages

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