res = requests.get(url)
print(res.content)
with open("D://Python program//tiandi.png", 'wb') as file:
file.write(res.content)
其中url就是使用api的鏈接,但是不知道怎么保存下來,同樣的使用高德地圖的api就可以正常保存
uj5u.com熱心網友回復:
參考一下某寶截取交易的訂單轉載請註明出處,本文鏈接:https://www.uj5u.com/qianduan/7595.html
標籤:其他
上一篇:被跨域整瘋的公司練習生,求幫
下一篇:與服務端udp通信問題
