如何用python请求

import urllib.request

 import requests, random

 url=“”

 req = urllib.request.Request(url)

 with urllib.request.urlopen(req) as response:     
      date = response.read()   
      json_date = date.decode()     
      xulie = json_date   
      # print(xulie) 

这是源代码….

~钱虽然不是万能的~
但没钱是万万不能的

先定它一个小目标今年买辆车!~~

Written on February 4, 2023