Buttons

PHOTO EMBED

Tue Aug 17 2021 15:18:26 GMT+0000 (Coordinated Universal Time)

Saved by @maryjaay666 #html

from tkinter import *  # This will import everything from tkinter
root = Tk()  # Is the Tk window

# Button One
cool_button = Button(root, text="Click Me!")  # Defining a button
cool_button.pack(side=LEFT)  # Putting button on screen

# Button Two
cool_button1 = Button(root, text="Click Me!")  # Defining a button
cool_button1.pack(side=RIGHT)

"""
There is pack, grid & place
"""


root.mainloop()  # Is the END of loop
content_copyCOPY