1. 日期输出格式化所有日期、时间的api都在datetime模块内。1. datetime => stringnow = datetime.datetime.now()now.strftime('%Y-%m-%d %H:%M:%S')输出2012-03-05 16:26:23.870105strf... Read More
posted @ 2014-04-24 11:08 siyed Views(210) Comments(0) Diggs(0) Edit