我一直在尝试将多个函数映射到一个 python ttk 按钮。它不断向我射击一个相互矛盾的论点错误。我错过了什么?
试过:
ttk.Button(mainframe, text="decode", command=reverse, shift).grid(column=5, row=3, columnspan=2, rowspan=1)
试过:
ttk.Button(mainframe, text="decode", command=reverse shift).grid(column=5, row=3, columnspan=2, rowspan=1)
试过:
ttk.Button(mainframe, text="decode", command=reverse command=shift).grid(column=5, row=3, columnspan=2, rowspan=1)
搜索谷歌,我一定是在寻找错误的东西。请帮忙。