Open S3 object as a string with Boto3

0 votes

I'm aware that with Boto 2 it's possible to open an S3 object as a string with: get_contents_as_string()

Is there an equivalent function in boto3 ?

Mar 15 in Others by Edureka
• 9,320 points
21 views

1 answer to this question.

0 votes

s3 = boto3.resource('s3') import boto3
s3 = obj
obj(bucket, key) obj(bucket, key) obj(bucket, key) o
get()['Body'].
read().
decode('utf-8')

answered Mar 21 by Edureka
• 8,820 points

Related Questions In Others

0 votes
1 answer

Parsing a string with GetOpt::Long::GetOptions

Hey, have a look at the section ...READ MORE

answered Nov 15, 2018 in Others by nirvana
• 3,130 points
634 views
0 votes
1 answer
0 votes
0 answers

AtoX: Take technology as a sword and forge ahead

In the eighth month of the bear ...READ MORE

Jan 22, 2019 in Others by anonymous

retagged Jan 24, 2019 by Omkar 153 views
0 votes
1 answer

Execute a shell script with php

One of the possible reason for this ...READ MORE

answered Feb 24, 2019 in Others by Omkar
• 69,190 points
5,698 views
+1 vote
0 answers

How to split a number with coma betweeen two colunms

Jul 3, 2019 in Others by anonymous
159 views
0 votes
1 answer
0 votes
1 answer

How to install a GUI on Amazon AWS EC2 or EMR with the Amazon AMI

The top-level script for installing the GUI ...READ MORE

answered Mar 9 in Others by Edureka
• 8,820 points
29 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP