Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想获取与在我的 python 代码中上传到我的存储帐户中的文件关联的 etag。
请使用以下代码:
from azure.storage.blob import BlockBlobService block_blob_service = BlockBlobService(account_name='xx', account_key='xx') myetag = block_blob_service.get_blob_properties("your_container","the_blob_name").properties.etag print(myetag)
测试结果: