我的代码是:
from tkinter import *
window = Tk()
button1 = Button(window, text = 'Execute')
button1.grid(row = 0, column= 0)
input1 = Entry(window)
input1.grid(row = 0, column = 1)
text1 = Text(window, height = 1, width = 20)
text1.grid(row = 0, column = 2)
window.mainloop()
错误是:
[pylint] F0002:<class 'RuntimeError'>: generator raised StopIteration
image也供参考。