09 2019 档案

摘要:一. uwsgi 安装 检验 配置uwsgi.ini 1. 安装 2. 检验 方法一(uwsgi启动文件): test.py内容如下: def application(env, start_response): start_response('200 OK', [('Content-Type','t 阅读全文
posted @ 2019-09-28 17:03 东方不败--Never 阅读(991) 评论(0) 推荐(0) 编辑
摘要:1. 应用场景: 多次调用同一函数 2. 普通写法: 结果: hellow:tomtime:2019-09-05 18:20:19.637917hellow:tomtime:2019-09-05 18:20:24.639228 3. 缓存写法: 结果: hellow:tomtime:2019-09- 阅读全文
posted @ 2019-09-05 18:47 东方不败--Never 阅读(557) 评论(0) 推荐(0) 编辑
摘要:1: pip3 install ddt 2: 阅读全文
posted @ 2019-09-05 12:08 东方不败--Never 阅读(212) 评论(0) 推荐(0) 编辑
摘要:1. HTMLTestRunner.py 代码(python3)如下: python2: https://github.com/tungwaiyip/HTMLTestRunner 1 """ 2 A TestRunner for use with the Python unit testing fr 阅读全文
posted @ 2019-09-01 20:36 东方不败--Never 阅读(417) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示