We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4a86ce commit 8dfa4d4Copy full SHA for 8dfa4d4
README.rst
@@ -98,7 +98,7 @@ how to create a bucket.
98
bucket = client.get_bucket('bucket-id-here')
99
# Then do other things...
100
blob = bucket.get_blob('remote/path/to/file.txt')
101
- print(blob.download_as_string())
+ print(blob.download_as_bytes())
102
blob.upload_from_string('New contents!')
103
blob2 = bucket.blob('remote/path/storage.txt')
104
blob2.upload_from_filename(filename='/local/path.txt')
0 commit comments