Developing Python Apps on Windows Azure

  • Published on
    13-May-2015

  • View
    2.561

  • Download
    0

Embed Size (px)

DESCRIPTION

by (ericsk)

Transcript

  • 1.http://www.windowsazure.com/zh-tw/

2. Azure 3. Azure 4. Azure 5. How Python Runs 6. 1. Create Project 3. Publish2. Add Azure Cloud Service Project 7. pip install azure 8. # init an azure table service instancefrom azure import storagets = storage.TableService(account_name=,account_key=)# create tablets.create_table(MY_TABLE_NAME)# add an entityts.insert_entity(MY_TABLE_NAME, {PartitionKey: hello1234, RowKey: 20120610,name: Eric, say: PyCon Taiwan rocks!})# list entities...entities = ts.query_entities(MY_TABLE_NAME, , name,say)for entity in entities:print %s: %s % (entity.name, entity.say) 9. http://www.windowsazure.com/zh-tw/http://www.windowsazure.com/en-us/develop/python/https://github.com/WindowsAzurehttps://github.com/WindowsAzure/azure-sdk-for-python