📜  给utton一个数字python代码示例

📅  最后修改于: 2022-03-11 14:45:02.995000             🧑  作者: Mango

代码示例2
def callback(self, number):
    new_value = self.user_input.get() + str(number)
    self.user_input.set(new_value)