- 博客(1)
- 收藏
- 关注
原创 Python获取Entry内容
from tkinter import * import tkinter as tk def get(): print("获取到的内容是 \033[91m%s" % entry.get()) root=tk.Tk() root.title('PDU控制平台') root.geometry('200x100') frame = Frame(root) frame.pack() u1 = tk.StringVar() entry = tk.Entry(frame, width=20, textva.
2021-03-31 10:37:35
7185
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅