随笔分类 -  Python

摘要:flake8 :静态检查错误用 yapf:自动调整格式 alt+shift+f vscode setting中设置 阅读全文
posted @ 2019-04-26 10:43 喵喵小学僧 阅读(93) 评论(0) 推荐(0)
摘要:easy_insall的作用和perl中的cpan, ruby中的gem类似,都提供了在线一键安装模块的傻瓜方便方式,而pip是easy_install的改进版, 提供更好的提示信息,删除package等功能。老版本的python中只有easy_install, 没有pip。 easy_instal 阅读全文
posted @ 2018-01-02 08:10 喵喵小学僧 阅读(136) 评论(0) 推荐(0)
摘要:要用 pip 安装特定版本的 Python 包,只需通过 == 操作符 指定,例如: pip install -v pycrypto==2.3 将安装 pycrypto 2.3 版本。 阅读全文
posted @ 2018-01-02 08:08 喵喵小学僧 阅读(322) 评论(0) 推荐(0)
摘要:pip3 install -U --timeout 1000 matplotlib 阅读全文
posted @ 2018-01-01 23:22 喵喵小学僧 阅读(129) 评论(0) 推荐(0)