原文:python requests.exceptions.ConnectionError

今天遇到一個奇葩問題, .r.request.post url ..print r. status code 居然第一步就報錯了,原因是url不正確,按道理應該可以走到第二步然后輸入 的 import requests try: requests.get http: not.a.real.url really not except requests.exceptions.ConnectionErr ...

2017-08-17 16:48 0 8624 推薦指數:

查看詳情

 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM