摘要: 接收邮件import poplib,pdb,email,re,timefrom email import headerPOP_ADDR = r'pop.126.com'USER = ''PASS = ''CONFIG = ''def getYear(date): rslt = re.search(r'\b2\d{3}\b', date) return int(rslt.group())def getMonth(date): monthMap = {'Jan':1,'Feb':2,&# 阅读全文
posted @ 2013-07-15 23:12 平凡之路 阅读(3018) 评论(0) 推荐(0) 编辑