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()
Image 0

0

1

Updated 2021-08-17

Contributors are:

Who are from:

References


Tags

Python Programming Language

Data Science