how do i set the input value to 150 as default? n if i enter non-integer value how can i validate it?? thanks
from Tkinter import *
root = Tk()
lbl = Label(root, text = "Enter Number of vehicles", bg = 'blue', fg= 'white')
lbl.pack()
textbox = Entry(root, width="20", textvariable=IntVar())
textbox.pack()
Button(root, text='Click ').pack(ipadx =1,padx =1, pady=1)