0

I am trying to create an HTML file of a PDF output generated by fpdf2 using Python packages. My code for creating the PDF is the following, which saves the PDF in my local disk:

from fpdf import FPDF
pdf = FPDF()
####my code for putting content (text, image, table) in the pdf
pdf.output(file_savingpath, "F")

Does anyone have a minimal working solution to create an automated HTML file creation solution using Python 3.x?

Best,

Debayan

Debayan Paul
  • 95
  • 2
  • 9

0 Answers0