name 'Frame' is not defined
我也遇到这个问题了。
我学习python2.7旧版,输入文本:
name = self.nameInput.get() or 'world'
又遇到
AttributeError: Application instance has no attribute 'nameInput'
我也搞不懂怎么回事了,网上找到的方法均不能解决。
from tkinter import* 一开始有没有导入Tkinter包?
Sign in to make a reply
0泡老醋
name 'Frame' is not defined