でテキスト入力ボックスを挿入することはできません。私がそれを実行すると、エラーなしでコンパイルされるのがわかりますが、実際には開いているウィンドウは表示されません。エラーは、テキスト入力フィールドをパックしようとしたときに発生します。どんな助けでも大歓迎です。のPythonのTkinterは:私の次Tkinterのスクリプトが正しく動作does notの理由を私は理解できないフレーム
from Tkinter import *
import ttk
main = Tk()
main.title('Testing')
topframe = Frame(main)
topframe.pack(side = TOP)
bottomframe = Frame(main)
bottomframe.pack(side = BOTTOM)
frame = Frame(main)
frame.pack()
Label(topframe, text="Date").grid(row=0)
e1 = Entry(topframe)
e1.insert(1, "May 24, 2017")
e1.pack()
main.mainloop()