Loading...
代码import os print( os.path.abspath('.')) #以.为相对路径查找绝对路径 print( os.path.abspat...
代码import random print(random.randint(1,6)) print(random.choice(['aa', 'bb', '...
代码import time print(time.time()) print(time.localtime()) print(time.strftime(...
代码import re p = re.compile(r'(\d+)-(\d+)-(\d+)') print(p.match('2018-05-10')...