Python tkinter setup a basic GUI 🐍

Published: 22 September 2020
on channel: Bro Code
253,418
7.2k

Python tkinter GUI tutorial for beginners

#Python #tkinter #GUI #tutorial #beginners

from tkinter import *

window = Tk() #instantiate an instance of a window
window.geometry("420x420")
window.title("Bro Code first GUI program")

icon = PhotoImage(file='logo.png')
window.iconphoto(True,icon)
window.config(background="#5cfcff")

window.mainloop() #place window on computer screen, listen for events


On this page of the site you can watch the video online Python tkinter setup a basic GUI 🐍 with a duration of hours minute second in good quality, which was uploaded by the user Bro Code 22 September 2020, share the link with friends and acquaintances, this video has already been watched 253,418 times on youtube and it was liked by 7.2 thousand viewers. Enjoy your viewing!