logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

阿里、腾讯、网易、极验、顶象滑块验证码识别

阿里滑块腾讯滑块网易滑块极验滑块顶象滑块

python 历史版本下载大全

历史版本下载地址https://www.python.org/ftp/python/

#python#tensorflow#linux +1
python爬虫 关于Max retries exceeded with url 的错误

爬取安逸花 https://vayh.msxf.com/ 时出现这种错误,总结如下:1.https连接太多没有关闭导致的433,解决方法:import requestsrequests.adapters.DEFAULT_RETRIES = 5 # 增加重连次数s = requests.session()s.keep_alive = False # 关闭多余连接s.get(url) ...

#python#java#https +1
python使用requests库请求网址时,发生requests.exceptions.SSLError 错误解决办法

解决办法11.降低requests版本解决办法2当指定headers的User-Agent时,baidu的服务器会重定向到https的网址.因此报出SSL验证失败的错误.在进行GET时,指定SSL证书.详情见附件关闭证书验证. 详情见附件附件[各浏览器的User-Agent] http://www.useragentstring.com/pages/useragentstring....

#https#ssl#http
python 如何获取 excel 表格中数据所在的行和列

比如有下面一张excel表,我们需要得到“张思德”所在的行和列import pandasimport pandas as pdimport numpy as npdef get_coordinates(data: pandas.DataFrame, target: str):"""根据要查找的目标,返回其在excel中的位置data: excel数据,...

#python#pandas#数据分析 +1
python 获取json path小技能

用jsonpath,不需要一步一步获取路径,有了jsonpath简单一步到位import jsonpathJSON.initialState.entities.zvideos[1432841727673970688].video.playlist.hd.playUrlplayUrl = jsonpath.jsonpath(tial, '$..hd.playUrl')print(play...

#python
python 如何获取 excel 表格中数据所在的行和列

比如有下面一张excel表,我们需要得到“张思德”所在的行和列import pandasimport pandas as pdimport numpy as npdef get_coordinates(data: pandas.DataFrame, target: str):"""根据要查找的目标,返回其在excel中的位置data: excel数据,...

#python#pandas#数据分析 +1
如何解决OSError: [Errno 98] Address already in use 并杀死python3 进程

[root@localhost appp_dai]# python3 run_app.pyTraceback (most recent call last):  File "run_app.py", line 33, in <module>    app.run(debug=True, host='0.0.0.0',port=5000)  File

Python使用random.shuffle()随机打乱字典排序

示例.1import randomfrom random import shufflex = [[i] for i in range(10)]shuffle(x)print(x)运行结果:[[1], [2], [5], [0], [7], [9], [3], [8], [4], [6]][[6], [0], [7], [1], [3], [9], [5], [2], [4], [...

#python#人工智能#深度学习 +1
json.decoder.JSONDecodeError

1 读取json文件报错https://blog.csdn.net/qq_32526087/article/details/106317051json.decoder.JSONDecodeError: Invalid control character at: line 1 column 43675937 (char 43675936)json.decoder.JSONDecodeErro...

#json#python#java +2
    共 14 条
  • 1
  • 2
  • 请选择