基本用法如下: import tkinter as tk text = tk. ... Entry(root, textvariable=var, bd=5).pack(side=tk. ... value = var.get() #取得字串的值.
確定! 回上一頁