urllib

發送請求request urlopen()  import urllib.request  response = urllib.request.urlopen('https://www.python.org')  print(response.read().decode('utf-8')) 接下來,看看它返回的到底是什麼。利用type()方法輸出響應的類型:  import urllib.requ
相關文章
相關標籤/搜索