摘要: #设a为字符串import timea = "2011-09-28 10:00:00"#中间过程,一般都需要将字符串转化为时间数组time.strptime(a,'%Y-%m-%d %H:%M:%S')>>time.struct_time(tm_year=2011, tm_mon=9, tm_mda... 阅读全文
posted @ 2014-03-18 20:33 children 阅读(10545) 评论(0) 推荐(0) 编辑