Assign Excel cell value from Datepicker widget Selection using Python

DL Neil PythonList at DancesWithMice.info
Sun Jun 28 18:07:30 EDT 2020


On 29/06/20 6:01 AM, narenchunduri at gmail.com wrote:
> Datepicker is returning two different types. before date change its <datetime. datetime> and after change its <datetime. date>


Well done!

When it is printed, the date probably makes sense (to us), and the 
debug-print has given you the opportunity to make sure the data is 
exactly what is required!

Now consider the 'second half' of the process: which data-type the Excel 
interface requires.

Given the original err.msg, a conversion function may be helpful, eg 
str() https://docs.python.org/3/library/string.html

Successful?
-- 
Regards =dn


More information about the Python-list mailing list