Python代码使用循环发起网络请求,发起单个没有问题,发起多个请求,就会报错ConnectionResetError: [Errno 104] Connection reset by peer可以考虑在每个请求之间增加一个时间间隔time.sleep(0.5)参考Python 频繁请求问题: [Errno 104] Connection reset by peer