Tkinter
from tkinter import * # import tkinter
window = Tk() #create a window
window.mainloop() #update window
Zany Zebra
from tkinter import * # import tkinter
window = Tk() #create a window
window.mainloop() #update window
from tkinter import *
from tkinter import ttk
root=Tk()
entry1=Entry(root,cursor="fleur",insertbackground="red")
entry1.pack()
Button(root,text="Get cursor type and colour", command=lambda: print(entry1['cursor'],entry1['insertbackground'])).pack()
root.mainloop()
from tkinter import *
from tkinter import ttk
root = Tk()
frm = ttk.Frame(root, padding=10)
frm.grid()
ttk.Label(frm, text="Hello World!").grid(column=0, row=0)
ttk.Button(frm, text="Quit", command=root.destroy).grid(column=1, row=0)
root.mainloop()
Tkinter is the biuld-in GUI toolkit of python. You can
easily make a graffical software using tkinter.
from tkinter import *
from tkinter import ttk
from tkinter import *
or
import tkinter