Created
December 18, 2024 20:11
-
-
Save danielfeitopin/099594d4b4af4a168764c2a06079d287 to your computer and use it in GitHub Desktop.
It is what it is...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pypdf import PdfReader, PdfWriter | |
FILES = [ | |
# File names | |
] | |
writer = PdfWriter() | |
for file in FILES: | |
reader = PdfReader(file) | |
for page in range(len(reader.pages)): | |
writer.add_page(reader.pages[page]) | |
with open("Documentación Asociación.pdf", "wb") as f: | |
writer.write(f) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment