but not in Python 2. However, timedelta has a method totalseconds , which returns the whole delta expressed as decimal seconds: > td.
確定! 回上一頁