Message87741
| Author |
mw44118 |
| Recipients |
mw44118 |
| Date |
2009年05月14日.16:57:55 |
| SpamBayes Score |
0.024098884 |
| Marked as misclassified |
No |
| Message-id |
<1242320277.61.0.875644681622.issue6020@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I do this kind of thing a lot:
>>> from datetime import timedelta
>>> td = timedelta(days=2, seconds=14)
>>> total_duration_in_seconds = td.days * 24 * 60 * 60 + td.seconds
I would like to have a property on the timedelta object do this for me. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2009年05月14日 16:57:57 | mw44118 | set | recipients:
+ mw44118 |
| 2009年05月14日 16:57:57 | mw44118 | set | messageid: <1242320277.61.0.875644681622.issue6020@psf.upfronthosting.co.za> |
| 2009年05月14日 16:57:56 | mw44118 | link | issue6020 messages |
| 2009年05月14日 16:57:55 | mw44118 | create |
|