Wednesday, August 5, 2020

Write a Program Add a SpinBox in Python.

Add a SpinBox in Python.


from tkinter import *

window = Tk()

window.title("Welcome to Coding Block!")

window.geometry('350x200')

spn = Spinbox(window, from_=0, to=50, width=5)

spn.grid(column=0,row=0)

window.mainloop()

OUTPUT

Add a SpinBox

Add a SpinBox in Python.


No comments:

Post a Comment

Please do not any spam link in Comment Box