1
html_data = os.path.abspath("apps/dashboard/templates/pdfdata.html")
response_data['status'] = False
pdfkit.from_file(html_data, 'out.pdf')

By using pdfkit and the above code, pdf generated successfully. Now I want to download this generated pdf.

ROMANIA_engineer
  • 54,432
  • 29
  • 203
  • 199
Nishanth V
  • 51
  • 1
  • 1
  • 5

0 Answers0