by
81k 39
0
7
3,273
1
Top 1% !
Popular
Famous
Tagged
Specified
Refined
OpenSource
Popularity: 3693rd place
Created
Modified Sep 4, 2013

Published on:

LanguagePython
libraryboto
LicenseMIT_X11
MacOS Version10.7.5
OSMac OS X

Connecting to S3 using boto

In this example we assume you set your Amazon credentials ( WS\_ACCESS\_KEY\_ID and  AWS\_SECRET\_ACCESS\_KEY ) as environment variables or in the [boto config file](https://code.google.com/p/boto/wiki/BotoConfig)
Copy Embed Code
<iframe id="embedFrame" style="width:600px; height:300px;"
src="https://www.snip2code.com/Embed/11164/Connecting-to-S3-using-boto?startLine=0"></iframe>
Click on the embed code to copy it into your clipboard Width Height
Leave empty to retrieve all the content Start End
# Method 1 import boto conn = boto.connect_s3() # Method 2 from boto.s3.connection import S3Connection conn = S3Connection()

Other Steps and Solutions

If you want to be updated about similar snippets, Sign in and follow our Channels

blog comments powered by Disqus