git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Assign Excel cell value from Datepicker widget Selection using Python


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