Skip to content

Instantly share code, notes, and snippets.

@oremj
Last active December 23, 2015 04:49
Show Gist options
  • Save oremj/6582701 to your computer and use it in GitHub Desktop.
Save oremj/6582701 to your computer and use it in GitHub Desktop.
from boto.s3.connection import S3Connection
s3 = S3Connection()
bucket = s3.get_bucket('YOURBUCKET')
k = bucket.new_key('testkey')
k.set_contents_from_string('test')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment