![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python
Teddy1982
这个作者很懒,什么都没留下…
展开
-
IDE快捷键
Mac下PyCharm快捷键大全 Mac键盘符号和修饰键说明 ⌘ Command ⇧ Shift ⌥ Option ⌃ Control ↩︎ Return/Enter ⌫ Delete ⌦ 向前删除键(Fn+Delete) ↑ 上箭头 ↓ 下箭头 ← 左箭头 → 右箭头 ⇞ Page Up(Fn+↑) ⇟ Page Down(Fn+↓) Home Fn + ← End Fn + → ⇥ 右制表符(Tab键) ⇤ 左制表符(Shift+Tab) ⎋ Escape (Esc原创 2020-07-20 17:35:37 · 125 阅读 · 0 评论 -
Nginx, Gunicorn, supervisor在Ubuntu上部署Web应用
WSGI Web Server Gateway Interface, Python web服务器网关接口, 即Python的Web应用程序和Web服务器之间的一种通信协议。如果让web应用在任何服务器上运行, 就必须遵循这个协议。 Gunicorn 配置Gunicorn 在虚拟环境下安装Gunicorn: (venv) $ pip3 install gunicorn 创建以.py结尾的配置文件 from gevent import monkey monkey.patch_all() import mult原创 2020-05-18 14:43:57 · 149 阅读 · 0 评论 -
Python环境
pip3 install -i https://pypi.doubanio.com/simple/ -r requirements.txt -r 根据文件安装插件 -i 加速地址 pip3 > requirements 显示安装的插件原创 2020-04-20 22:03:03 · 111 阅读 · 0 评论 -
Flasgger 使用
引言 Swagger是一款Restful接口的文档在线自动生成+功能测试功能软件; 通过swagger能够清晰、便捷地调试符合Restful规范的API; 在flask框架中使用的swagger即为flasgger,flasgger是flask支持的swagger UI,便于调试使用flask框架搭建的web api接口; 安装 pip3 install flasgger; flasgg...原创 2020-02-06 17:07:44 · 2020 阅读 · 0 评论