Using Client versioning you can create folders in your S3 bucket. And in boto3 its a peice of cake and 3 lines of code.
Here is the code for doing so.
s3 = boto3.client('s3')
bucket_name = "aniketbucketpython"
directory_name = "aniket/bucket/python" #it's name of your folders