This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
python [2017/12/12 00:38] jordan 创建 |
python [2023/03/08 16:09] (current) xujianglong ↷ Page moved from 内部资料:python to python |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | # Python | ||
- | |||
人生苦短,我用Python | 人生苦短,我用Python | ||
- | ## 新手入门 | + | ====== |
+ | |||
+ | [[https:// | ||
+ | |||
+ | ====== Python爬虫 ====== | ||
+ | |||
+ | [[http:// | ||
+ | |||
+ | ====== Python Web ====== | ||
+ | |||
+ | ====== Python与深度学习 ====== | ||
+ | |||
+ | ====== Python编码规范 ====== | ||
+ | |||
+ | 参考[[https:// | ||
+ | |||
+ | ====== pip使用国内源提升下载速度 ====== | ||
+ | |||
+ | ===== 20210213更新 ===== | ||
+ | |||
+ | <code bash> | ||
+ | # 临时使用 | ||
+ | pip install -i https:// | ||
+ | # 设为默认 | ||
+ | # pip版本10.0以上 | ||
+ | # 如果pip升级太慢,使用pip install -i https:// | ||
+ | pip install pip -U | ||
+ | pip config set global.index-url https:// | ||
+ | |||
+ | </ | ||
+ | |||
+ | 参考[[https:// | ||
+ | |||
+ | linux下,修改 ~/ | ||
+ | < | ||
+ | |||
+ | | ||
+ | | ||
+ | |||
+ | </ | ||
+ | |||
+ | windows下,直接在user目录中创建一个pip目录,如:C: | ||
+ | |||
+ | < | ||
+ | | ||
+ | | ||
+ | |||
+ | </ | ||
+ | |||
+ | ====== 私有源构建 ====== | ||
+ | |||
+ | 参照:[[https:// | ||
+ | |||
+ | pipenv中添加url安装私有源的包:[[https:// | ||
- | ## Python爬虫 | + | 尝试将公司项目中用到的包放到私有源中,遇到的问题是安装等了很久都没有任何进展,可能是引用了三方库,三方库没有包含在私有源中,导致私有源下载包等很久都没有反应。等有时间的时候再尝试将三方库也放到私有源中试试(这个过程有点儿耗时,貌似还不如直接用whl文件安装) |
- | ## Python Web | ||
- | ## Python与深度学习 |