how can i create button in python code example
Example: give utton a number python
def callback(self, number):
new_value = self.user_input.get() + str(number)
self.user_input.set(new_value)
def callback(self, number):
new_value = self.user_input.get() + str(number)
self.user_input.set(new_value)