Skip to content

Instantly share code, notes, and snippets.

@sehrishnaz
Created March 29, 2021 07:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sehrishnaz/0174ec0e295ea2581185f2c440c2c465 to your computer and use it in GitHub Desktop.
Save sehrishnaz/0174ec0e295ea2581185f2c440c2c465 to your computer and use it in GitHub Desktop.
First GUI Application using Tkinter and Python
from tkinter import *
# Create the root (base) window
win = Tk()
win.geometry("200x200")
# Create a label with words
w = Label(win, text="Hello, Welcome to LearnOpenerp!")
# Put the label into the window
w.pack()
# Start the event loop
win.mainloop()
@sehrishnaz
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment