In this video I’ll show you how to find Instant Tkinter help from the terminal!
Python comes with internal documentation that you can use to get help with your tkinter project instantly! In this video I’ll show you how to look up the tkinter help files straight from your terminal.
You can find help files for all the widgets, and anything else in tkitner.
Python Code: help.py
(Github Code)
from tkinter import * from tkinter import ttk from tkinter import colorchooser root = Tk() root.title('Codemy.com - Tkinter Help!') root.iconbitmap('c:/gui/codemy.ico') root.geometry("500x500") # List of widgets # Button, Canvas, Checkbutton, Entry, Frame, # Label, LabelFrame, Listbox, Menu, Menubutton, Message, # Radiobutton, Scale my_help = str(help(colorchooser)) print(my_help) #TTK # Button, Checkbutton, Entry, Frame, Label, # LabelFrame, Menubutton, PanedWindow, #Radiobutton, Scale, Scrollbar, and Spinbox. # New TTK #Combobox, Notebook, Progressbar, Separator, #Sizegrip and Treeview root.mainloop()
Add comment