Difference Between Two datetimes
Steven D'Aprano
steve at REMOVE-THIS-cybersource.com.au
Mon Dec 28 17:45:00 EST 2009
On Mon, 28 Dec 2009 23:50:30 +1100, Ben Finney wrote:
>> How does one "unload" this structure to get the seconds and days?
>
> It's customary to consult the documentation for questions like that
> <URL:http://docs.python.org/library/datetime.html#datetime.timedelta>.
No no no, it's customary to annoy everyone on the list by asking the
question *without* consulting the documentation, and then to be told to
Read The Fine Manual.
To be serious for a moment, if you're in the interactive interpreter, you
can get some useful information by calling help(datetime.timedelta).
--
Steven
More information about the Python-list
mailing list