AttributeError: 'NoneType' object has no attribute 'insert'
不知道你这个问题是否已经解决, 如果还没有解决的话: background, bd, bg, borderwidth, cursor,
exportselection, fg, font, foreground, highlightbackground,
highlightcolor, highlightthickness, insertbackground,
insertborderwidth, insertofftime, insertontime, insertwidth,
invalidcommand, invcmd, justify, relief, selectbackground,
selectborderwidth, selectforeground, show, state, takefocus,
textvariable, validate, validatecommand, vcmd, width,
xscrollcommand
以上属性来自于python tkinter的__init__文件。感兴趣的读者可以打开查看。