diff --git a/002. Positioning With Tkinter's Grid System - Python Tkinter GUI Tutorial #2/grid.py b/002. Positioning With Tkinter's Grid System - Python Tkinter GUI Tutorial #2/grid.py new file mode 100644 index 0000000..bfe5a35 --- /dev/null +++ b/002. Positioning With Tkinter's Grid System - Python Tkinter GUI Tutorial #2/grid.py @@ -0,0 +1,14 @@ +from tkinter import * + +root = Tk() + +# Creating a Label Widget +myLabel1 = Label(root, text="Hello World!") +myLabel2 = Label(root, text="My Name is John Elder") +# Shoving it onto the screen + +myLabel1.grid(row=0, column=0) +myLabel2.grid(row=1, column=5) + + +root.mainloop() diff --git a/readme.md b/readme.md index fe01bc4..f4fba09 100644 --- a/readme.md +++ b/readme.md @@ -5,3 +5,4 @@ ## Lessons * [Create Graphical User Interfaces With Python And TKinter](https://www.youtube.com/watch?v=yQSEXcf6s2I&list=PLCC34OHNcOtoC6GglhF3ncJ5rLwQrLGnV) +* [Positioning With Tkinter's Grid System - Python Tkinter GUI Tutorial #2](https://www.youtube.com/watch?v=BSfbjrqIw20&list=PLCC34OHNcOtoC6GglhF3ncJ5rLwQrLGnV)