Created
March 29, 2021 07:01
-
-
Save sehrishnaz/0174ec0e295ea2581185f2c440c2c465 to your computer and use it in GitHub Desktop.
First GUI Application using Tkinter and Python
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Read Details: https://learnopenerp.blogspot.com/2021/03/creating-gui-in-python-using-tkinter.html