Tkinter Text Variable.

preview_player
Показать описание
Leave a comment on what you want to see next

Code from the video here:
——————————————————————
import tkinter as tk

root = tk.Tk()

name = tk.Variable()

tk.Entry(root, textvariable=name).pack()

def work():

tk.Button(root, text="print name!", command=work).pack()

——————————————————————
Рекомендации по теме