Can I use the docxcompose python library with s3 bucket files. It does what I want it to do locally with merging docx files but I need that on lambda

Viewed 23
from docx import Document
from docxcompose.composer import Composer

master = Document("demo.docx")
composer = Composer(master)
doc1 = Document("demo1.docx")
composer.append(doc1)
composer.save("combined.docx")

This code example is with local docx files, I want to achieve the same on aws lambda with s3 buckets files and to send the result to an s3 bucket as well

0 Answers
Related