from tkinter import *. root = Tk(). myEntry = Entry(root, bd = 5). myEntry.pack(). Then, you can use this to get: entryText = myEntry.get().
確定! 回上一頁