lcl

tkinter Entry AttributeError: 'NoneType' object has no attribute 'get'

孤者浪人 提交于 2020-01-14 07:10:10
AttributeError: ‘NoneType’ object has no attribute ‘get’ 获取tkinter Entry()出现错误 e11 = tk . Entry ( func1 , bd = 8 , width = 32 , font = ( '黑体' , 16 ) ) . pack ( ) 将代码写成2行 e11 = tk . Entry ( func1 , bd = 8 , width = 32 , font = ( '黑体' , 16 ) ) e11 . pack ( ) 来源: CSDN 作者: Simple_lcl 链接: https://blog.csdn.net/Joker_LCL/article/details/103748266