Developing Python Apps on Windows Azure

4,736 views

Published on

by 上官林傑 (ericsk)

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
4,736
On SlideShare
0
From Embeds
0
Number of Embeds
436
Actions
Shares
0
Downloads
53
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Developing Python Apps on Windows Azure

  1. 1. http://www.windowsazure.com/zh-tw/
  2. 2. Azure
  3. 3. Azure
  4. 4. Azure
  5. 5. How Python Runs
  6. 6. 1. Create Project 3. Publish 2. Add Azure Cloud Service Project
  7. 7. pip install azure
  8. 8. # init an azure table service instancefrom azure import storagets = storage.TableService(account_name=<STORAGE_NAME>, account_key=<STORAGE_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. 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

×