摘要:
#!/bin/bashlogApi=(91xingcai xinyao ag ah ascp)for i in ${logApi[*]};do content=`tail -n 100000 /home/logs/nginx/access/${i}Api.log |grep -v 'upstream 阅读全文
摘要:
#作用域#匿名函数def isodd(x): return x%2a=isodd(10)print(a)isodd = lambda x: x%2#无参数#func= lambda:3,14#func()#print(a)myadd = lambda x,y:x+yA=myadd(1,2)print 阅读全文