摘要:
import timeimport reprint time.time()print time.localtime()a = 'tm_year=2016, tm_mon=5, tm_mday=28, tm_hour=6, tm_min=51, tm_sec=14, tm_wday=5, tm_yda 阅读全文
摘要:
import reresult1 = re.match('\d+', '1sssda22wdasfsa') # 匹配开头print type(result1)print result1if result1: print result1.group()else: print 'nothing'resu 阅读全文