摘要:
正则表达式包re match,search,sub re.match(pattern, string, flags=0) re.search(pattern, string, flags=0) re.sub(pattern, repl, string, max=0) re.split(pattern,string,maxsplit,flags=0) # 根据正则表达式分割字符串, 将分割... 阅读全文
posted @ 2015-08-11 11:27
_DN
阅读(223)
评论(0)
推荐(0)
摘要:
时间: tickets 时间元组 格式化的时间 日历 import time tickets = time.time() print tickets print time.localtime() #本地时间元组 print time.gmtime() #UTC时间元组 print time.asctim... 阅读全文
posted @ 2015-08-11 10:43
_DN
阅读(208)
评论(0)
推荐(0)

浙公网安备 33010602011771号