![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python
Lemon_Boom
记性差,理解能力差,只能多读书,多看报,少吃零食,多睡觉
展开
-
Python3搭建本地web服务器
Python3搭建本地web服务器终端输入:python3 -m http.server 3000会在本地建立一个服务器。起始目录为 当时终端所在目录。-m module-namehttp.server python模块- HTTP服务器3000 端口确定,可以为其他 根据上面命令,浏览器输入 localhost:3000/ 即可访问设置其他的绑定...原创 2018-08-08 11:29:29 · 3880 阅读 · 0 评论 -
Python urllib 模块基础使用
urllib :URL处理模块 urllib 是一个收集几个模块以处理URL的包 包括: urllib.request 用于打开阅读URLs urllib.error 用于urllib.request过程中出现的错误 urllib.parse 用于解析URL urllib.robotparser 用于解析robots.txt文件urllib.requ...原创 2018-08-09 01:17:10 · 313 阅读 · 0 评论 -
Python linux环境下安装报错添坑
报错: error while loading shared libraries: libpython3.7m.so.1.0: cannot open shared object file: No such file or directory1⃣️ etc/ld.so.conf :查看当前目录下是否有python3.conf文件2⃣️ vim python3.conf:输入 你的python...原创 2018-12-21 15:30:21 · 1042 阅读 · 0 评论