+ 1
Can we build a GUI entirely with Python?
4 Respuestas
+ 1
For beginners is the Tkinter module recommended. I think it must be part of the Standard Library. But you can't use it within this app! Just on your computer.
+ 1
thanks @Giovanni Gatto, just missed the module name on the declarations:
tkinter.Tk()
tkinter.Label(...)
0
import tkinter as tk
root = tk.Tk ()
label = tk.Label(root,text="Hello World")
label.pack ()
root.mainloop ()
0
from tkinter import *