I looked at Python the other day and was itching to use Python to call Windows Azure cloud storage.
Reference article:
Calling Windows Azure cloud storage services using Python
Install Python
After installing the Python SDK for Azure as per the article content, I debugged directly through the Python editor.
No error occurred while importing the Azure package.
From azure.storage Import *
No error occurred while executing the Blobservice object.
Blob_service = Blobservice (account_name= ' MyAccount ', account_key= ' MyKey ')
When creating a container, an error
Blob_service.create_container (' MyContainer ')
The error content is as follows:
The workaround is simple:
Because Windows Azure is very special in China, there are independent domain names and data not out of the features.
Modify the init file for the Azure package, each platform path may be different.
Then modify the settings below.
Calling Windows Azure cloud storage services using Python