CategoryPython

First TKInter Python Program

F

from tkinter import * root = Tk() root.title(“Hello World”) root.geometry(“800×600″) def callback_go (): Label(root, text=”It worked!”).grid(row=2, column=0, sticky=W) def quit_application (): root.destroy() menubar = Menu(root) # create a pulldown menu, and add it to the menu bar filemenu = Menu(menubar, tearoff=0) filemenu...

Archive

Tags

Get in touch

I'm available on just about every social media platform out there as RMTWeb.