Developing Python Apps on Windows Azure

  • 2,344 views
Uploaded on

by 上官林傑 (ericsk)

by 上官林傑 (ericsk)

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
2,344
On Slideshare
0
From Embeds
0
Number of Embeds
5

Actions

Shares
Downloads
29
Comments
0
Likes
1

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. http://www.windowsazure.com/zh-tw/
  • 2. Azure
  • 3. Azure
  • 4. Azure
  • 5. How Python Runs
  • 6. 1. Create Project 3. Publish 2. Add Azure Cloud Service Project
  • 7. pip install azure
  • 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. 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