![](https://img-blog.csdnimg.cn/20190918140129601.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
python
文章平均质量分 73
python基础
何西米
加油吧
展开
-
各种问题集结
python读取excel报错:OSError: File contains no valid workbook part 原因之一:用openpyxl 模块读取了xls格式的excel,或者读取的是xls文件通过改变后缀变成xlsx格式的文件 解决:打开表格,另存为xlsx格式的文档 ...原创 2019-12-04 18:01:28 · 1644 阅读 · 1 评论 -
简单的带cookie的POST/GET接口
get new_url = "http://xxx" headers = {"Connection":"xxx","Host":"xxx","User-Agent":"xxx", "Cookie":"xxx"} response = requests.get(new_url,headers = headers) with open("xxx.html", "w", encod...原创 2019-12-04 09:57:20 · 393 阅读 · 0 评论