Jan-23-2020, 08:29 PM
when you created the entry widget you added a function call to result_selected and you
get an error. Entries don't call function that's where the bind key name the function
used. so first of change your entry like so:
you can use print instead of return
get an error. Entries don't call function that's where the bind key name the function
used. so first of change your entry like so:
entry_date = Entry(root)then when you click on the entry it will call the calendar function calendar1.
you can use print instead of return
def calendar1(event): def result_select(): print(cal.selection_get())# ...rest of your functiondo a search of tkcalendar they made a document pdf with examples and attributes etc.