Python: Converting from `datetime.datetime` to `time.time`

前端 未结 5 1863
醉话见心
醉话见心 2020-12-05 08:57

In Python, how do I convert a datetime.datetime into the kind of float that I would get from the time.time function?

5条回答
提交回复
热议问题