正確的方法嘗試/除了使用Python請求模塊?try:
r = requests.get(url, params={'s': thing})except requests.ConnectionError, e:
print e #should I also sys.exit(1) after this?這是對的嗎?有沒有更好的方法來構造這個?這能覆蓋我所有的基地嗎?
添加回答
舉報
0/150
提交
取消