This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 10 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
grid_forget 是一种方法。当您像
self.textEntryIndiv.grid_forget
那样调用它时,您并不是在调用该方法,您只是在请求引用。您需要像self.textEntryIndiv.grid_forget()
那样调用它(注意后面的()
)grid_forget
is a method. When you call it likeself.textEntryIndiv.grid_forget
you aren't calling the method, you are just asking for a reference. You need to call it likeself.textEntryIndiv.grid_forget()
(note the trailing()
)