Hi!
I am a total beginner in Tkinter!
I wrote this simple code:
When I run the program, the label does not display in the window.
Why? What I did wrong?
Thank you very much at all!
Bye!
Robertino
Italy
Why does the label it no
Grazie a tutti
Robertino
Pagina: 1
I am a total beginner in Tkinter!
I wrote this simple code:
import tkinter as tk from tkinter import ttk win = tk.Tk() # Create a win object. win.title("Python GUI") #win.resizable(False, False) # Disable resizing the window. ttk.Label(win, text = 'A Label') win.mainloop() # Start GUI.
When I run the program, the label does not display in the window.
Why? What I did wrong?
Thank you very much at all!
Bye!
Robertino
Italy
Why does the label it no
Grazie a tutti
Robertino
Pagina: 1