摘要: import requestsimport sysimport chardet #检测字符编码,但是有时候会有误差#查看两个网址的编码情况response1 = requests.get("https://github.com/favicon.ico")print(chardet.detect(re 阅读全文
posted @ 2019-12-29 22:03 无聊就来学习 阅读(424) 评论(0) 推荐(0) 编辑
摘要: 安装jupyter notebook的流程(注意python至少需要3.6版本) python -m pip install jupyter #安装jupyter python -m pip install –upgrade juypter #更新升级 注:这个会比较慢,最好设置时间,或者利用镜像更 阅读全文
posted @ 2019-12-23 21:57 无聊就来学习 阅读(2420) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-10-22 23:02 无聊就来学习 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 1. 安装 输入 pip install PIL报错: ERROR: Could not find a version that satisfies the requirement PIL (from versions: none) ERROR: No matching distribution f 阅读全文
posted @ 2019-10-17 21:56 无聊就来学习 阅读(330) 评论(0) 推荐(0) 编辑