You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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:
The text was updated successfully, but these errors were encountered: