你非要说方便,这样不是更方便…………
Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from datetime import datetime
>>> datetime.now() - datetime(1988, 10, 26)
datetime.timedelta(7668, 69880, 890000)
>>>
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from datetime import datetime
>>> datetime.now() - datetime(1988, 10, 26)
datetime.timedelta(7668, 69880, 890000)
>>>