10 2021 档案

UWSGI+NGINX部署
摘要:环境准备 发布CRM你将使用以下软件 nginx uWSGI CentOS7 CRM项目文件 virtualenv/virtualenvwrapper supervisor WSGI、uWSGI python web服务器开发使用WSGI协议(Web Server Gateway Interface 阅读全文

posted @ 2021-10-25 16:54 朴先生 阅读(520) 评论(0) 推荐(1)

python利用函数装饰器实现对函数调用次数的跟踪
摘要:case1:>>> class tracer: def __init__(self, func): self.calls = 0 self.func = func def __call__(self, *args, **keys): self.calls += 1 print('call %s to 阅读全文

posted @ 2021-10-20 17:39 朴先生 阅读(245) 评论(0) 推荐(0)

导航