标签:
>>> import datetime >>> now = datetime.datetime.now() >>> now datetime.datetime(2015, 4, 2, 12, 18, 37, 962347) >>> print now 2015-04-02 12:18:37.962347
Python标准库 datetime
原文地址:http://www.cnblogs.com/zhanhg/p/4386554.html