developing python apps on windows azure

18

Upload: pycontw

Post on 13-May-2015

2.570 views

Category:

Technology


0 download

DESCRIPTION

by 上官林傑 (ericsk)

TRANSCRIPT

Page 1: Developing Python Apps on Windows Azure
Page 2: Developing Python Apps on Windows Azure
Page 4: Developing Python Apps on Windows Azure

Azure

Page 5: Developing Python Apps on Windows Azure

Azure

Page 6: Developing Python Apps on Windows Azure

Azure

Page 7: Developing Python Apps on Windows Azure
Page 8: Developing Python Apps on Windows Azure

How Python Runs

Page 9: Developing Python Apps on Windows Azure
Page 10: Developing Python Apps on Windows Azure

1. Create Project

2. Add Azure Cloud Service Project

3. Publish

Page 11: Developing Python Apps on Windows Azure
Page 12: Developing Python Apps on Windows Azure
Page 13: Developing Python Apps on Windows Azure
Page 14: Developing Python Apps on Windows Azure

pip install azure

Page 15: Developing Python Apps on Windows Azure

# init an azure table service instance from azure import storage ts = storage.TableService(account_name='<STORAGE_NAME>', account_key='<STORAGE_KEY>') # create table ts.create_table('MY_TABLE_NAME') # add an entity ts.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)

Page 16: Developing Python Apps on Windows Azure
Page 17: Developing Python Apps on Windows Azure