Learn Before
Concept
Creating Buttons with Tkinter
A Button widget is similar to a Label widget, but it is clickable and can call a function.
button1 = tk.Button(text="Click Me", foreground="red") button1.pack()

0
1
Updated 2021-08-17
Tags
Python Programming Language
Data Science