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
import fpdf | |
from PyPDF2 import PdfFileWriter, PdfFileReader | |
overlay_pdf_file_name = 'overlay_PDF.pdf' | |
pdf_template_file_name = 'base_PDF_template.pdf' | |
result_pdf_file_name = 'final_PDF.pdf' | |
# This section creates a PDF containing the information you want to enter in the fields | |
# on your base PDF. |