Hey, so i can see i can use extract and extractall to write to filesystem. But i need an extracted object to write to S3 Bucket like here:
with py7zr.SevenZipFile("file.7z", "r") as archive:
for image in archive.namelist():
s3resource.meta.client.upload_fileobj( archive.open(image), Bucket="bucket", Key="key")
# in zipfile, i can use archive.open() for example, how can i achieve same here?
Hey, so i can see i can use extract and extractall to write to filesystem. But i need an extracted object to write to S3 Bucket like here: