09 2019 档案
摘要:一. uwsgi 安装 检验 配置uwsgi.ini 1. 安装 2. 检验 方法一(uwsgi启动文件): test.py内容如下: def application(env, start_response): start_response('200 OK', [('Content-Type','t
阅读全文
摘要:1. 应用场景: 多次调用同一函数 2. 普通写法: 结果: hellow:tomtime:2019-09-05 18:20:19.637917hellow:tomtime:2019-09-05 18:20:24.639228 3. 缓存写法: 结果: hellow:tomtime:2019-09-
阅读全文
摘要:1: pip3 install ddt 2:
阅读全文
摘要:1. HTMLTestRunner.py 代码(python3)如下: python2: https://github.com/tungwaiyip/HTMLTestRunner 1 """ 2 A TestRunner for use with the Python unit testing fr
阅读全文