Tkinter

import tkinter as tk
root = tk.Tk()
label = tk.Label(root, text="Hello", font="Arial")
label.pack(padx=100, pady=100)
root.mainloop()

I am new to tkinter Python library. I watched a video, https://youtu.be/ibf5cx221hk?si=9vhyS2KEzq806KGV, and, wrote some starter code.

Leave a Reply

Discover more from Amol's Code Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading