python代码工具小结

目录:

1、with读、写文件

(1)with读文件

(2)with写文件

2、requests爬虫

(1)get请求

(2)post请求


1、with读、写文件

(1)with读文件

(2)with写文件

https://www.cnblogs.com/andy9468/p/11493062.html

2、requests爬虫

(1)get请求

https://www.cnblogs.com/andy9468/p/11492910.html

(2)post请求

https://www.cnblogs.com/andy9468/p/8306886.html

(3)get带参数请求(如:https://www.baidu.com/s?wd=a)

(4)get代理请求

(5)请求响应状态

https://www.cnblogs.com/andy9468/p/8401069.html

猜你喜欢

转载自www.cnblogs.com/andy9468/p/11489134.html