Building Python Applications on Windows Azure

3,596 views

Published on

I introduced how to develop python applications on Windows Azure.

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
3,596
On SlideShare
0
From Embeds
0
Number of Embeds
1,459
Actions
Shares
0
Downloads
16
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Building Python Applications on Windows Azure

  1. 1. NCTU CHT Microsoft 2000 ~ 2004 2007 ~ 2011 2011 ~ ?上官林傑 (Eric) NTU Taipei GTUGTechnical Evangelist, MS 2004 ~ 2006 2009 ~ 2010
  2. 2. http://www.windowsazure.com/zh-tw/
  3. 3. Azure
  4. 4. Azure
  5. 5. Azure
  6. 6. How Python Runs
  7. 7. 1. Create Project 3. Publish 2. Add Azure Cloud Service Project
  8. 8. pip install azure
  9. 9. # 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)
  10. 10. 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

×