I found this Python calendar widget though this post. I am trying to print out the date that user selected on the calendar. What i tried is something like this
mycalendar=Calendar()
print mycalendar.selection()
I know this small piece of code alone doesn't make things clear. "Calendar" is a class and selection(self) is a function inside Calendar class with return value. For clear understanding please see the link i provided above as the code is too long to post here.
My problem is once i run the script, instead of giving me the return number from function, it give me this error message "TypeError: 'NoneType' object is not callable". Is there any way to get the user selected date on the calendar to printed out?