赞
踩
在用tkinter的时候,出现了AttributeError: ‘NoneType’ object has no attribute 'XXX’的错误,以下是程序源码:
from tkinter import * app = Tk() b = Entry(app).pack() a = b.get()
然后就报错