Skip to content

Commit

Permalink
Merge pull request #1805 from davidraleigh/patch-1
Browse files Browse the repository at this point in the history
Update README.rst
  • Loading branch information
tseaver committed May 17, 2016
2 parents fcb7085 + 436ac4d commit b449451
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,10 @@ how to create a bucket.
client = storage.Client()
bucket = client.get_bucket('bucket-id-here')
# Then do other things...
blob = bucket.get_blob('/remote/path/to/file.txt')
blob = bucket.get_blob('remote/path/to/file.txt')
print blob.download_as_string()
blob.upload_from_string('New contents!')
blob2 = bucket.blob('/remote/path/storage.txt')
blob2 = bucket.blob('remote/path/storage.txt')
blob2.upload_from_filename(filename='/local/path.txt')
Google Cloud Pub/Sub
Expand Down

0 comments on commit b449451

Please sign in to comment.