摘要:
import time def decorator(func): def wrapper(): print time.time() func() return wrapper def f1(): print('xxxxxx') f= decorator(f1) f() import time def decorat... 阅读全文
posted @ 2019-10-22 23:07
AngDH
阅读(93)
评论(0)
推荐(0)
摘要:
from functools import reduce list_x = ['1','2','3','4','5'] r= reduce(lambda x,y:x+y,list_x,'aaa') print r --aaa12345 阅读全文
posted @ 2019-10-22 21:59
AngDH
阅读(110)
评论(0)
推荐(0)
摘要:
结果 个数 取决于 较小的 list个数 阅读全文
posted @ 2019-10-22 21:35
AngDH
阅读(103)
评论(0)
推荐(0)
摘要:
https://blog.csdn.net/weixin_42434700/article/details/143362373 从这里找下载包 https://unofficial-builds.nodejs.org/download/release/ 解压后直接 加环境变量 vim /etc/pr 阅读全文
posted @ 2019-10-22 11:01
AngDH
阅读(495)
评论(0)
推荐(1)