在python中从Azure Blob读取xml文件

时间:2019-12-04 10:13:17

标签: python azure blob

我正在尝试使用以下代码读取存储在我的azure blob中的xml文件:

import requests
resp = requests.get('MY BLOB SAS URL')
xml_content = resp.text
print(xml_content)

但出现此错误:

Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

有人可以暗示我在做什么错吗?

谢谢 维沙尔

0 个答案:

没有答案