我想将Spinbox转储到变量中

时间:2019-12-31 05:13:38

标签: python tkinter

  • 在spinhashtag中
  • c = spHashtag.get()
  • AttributeError:“ NoneType”对象没有属性“ get”

  • def spinhashtag():
  • 全局c
  • cspHashtag.get()
  • spHashtag = Spinbox(frm1,command = spinhashtag,from_ = 0,to = 10).grid(row = 2,column = 1)

0 个答案:

没有答案