https://www.plus2net.com/python/tkint...
Basic code to open one blank window using Tkinter library in Python.
import tkinter as tk
my_w=tk.Tk()
my_w.geometry('500x500')
my_w.title('www.plus2net.com')
my_w.mainloop()
first line will import the library
second line will create a variable to access the Tkinter objects
Third line will set the dimension of window in pixel
Fourth line will add title to the window
Fifth line will keep the window open
Sur cette page du site, vous pouvez voir la vidéo en ligne Python GUI basic window code using Tkinter library for displaying first blank window durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur plus2net 14 janvier 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 4,388 fois et il a aimé 43 téléspectateurs. Bon visionnage!