摘要: #结构化时间-->字符串时间#time.strftime("格式定义","结构化时间") 结构化时间参数若不传,则显示当前时间import time# print(time.strftime("%Y-%m-%d %X"))# #2018-08-17 08:55:16# print(time.strftime("%Y-%m-%d",time.localtime(1500000000)))# #20... 阅读全文
posted @ 2018-08-17 22:19 SHORI 阅读(134) 评论(0) 推荐(0) 编辑
摘要: # 斐波那契# def fib(x):# if x==1 or x ==2:# return 1## return fib(x-1)+fib(x-2)import re# ret= re.findall('avvvv','adnsadjkalsjdklasjdlaksjdsad')# print(r 阅读全文
posted @ 2018-08-17 08:46 SHORI 阅读(156) 评论(0) 推荐(0) 编辑