摘要: 问题1:如果日期中有千年以前的情况(没法用格式化函数),如('2010-11-23','1989-3-7','2010-1-5','978-12-1','2010-2-4')参照方法1问题2:如果日期中没有千年以前的情况,做法就很多了。参照方法2和方法3 1 # -*- coding: utf-8 -*- 2 import time 3 from operator import itemgetter 4 arr=('2010-11-23','1989-3-7','2010-1 阅读全文
posted @ 2013-07-09 14:21 lkprof 阅读(6852) 评论(1) 推荐(0) 编辑