[python] In Python, how do you convert a `datetime` object to seconds?