AWS S3 Object (파일)의 Text String Output 처리

  • goguma
    (고구마엔사이다)
  • goguma's Avatar 이 글의 작성자
  • Offline
  • Newbie
  • Newbie
더보기
06 Jan 2022 15:25 #5455 작성자: goguma
goguma 님의 글: AWS S3 Object (파일)의 Text String Output 처리
response = s3.get_object(Bucket=bucket, Key=key)
body = response['Body'].read().decode('utf-8')
print("CONTENT TYPE: " + response['ContentType'])
print("BODY: " + body)
Time to create page: 0.061 seconds
Powered by Kunena Forum