Python-Tkinter Tutorial-Labels and Buttons

Published: 01 July 2018
on channel: VSA
110
1

Don´t forget to subscribe and like, please :)

Here is the code of this video:

import Tkinter as tk

root=tk.Tk()
root.geometry('500x300')
root.title('My first window!!!')

def hello():
print('Hi ')

label1=tk.Label(root,text='This is a label')
label1.pack()

button1=tk.Button(root,text='Button!!',command=hello)
button1.pack()

root.mainloop()


On this page of the site you can watch the video online Python-Tkinter Tutorial-Labels and Buttons with a duration of hours minute second in good quality, which was uploaded by the user VSA 01 July 2018, share the link with friends and acquaintances, this video has already been watched 110 times on youtube and it was liked by 1 viewers. Enjoy your viewing!