How to upload s3 using boto3 – Amazon web services
I want to upload my logs to my bucket I never been used python and boto3 This is my code import os import datetime as dt import boto3 x = dt.datetime.now() date = x.strftime("%Y%m%d") bucket = 'mybucket' dir_path = "/log"…