Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PDF generation / edit
#1
Question 
Hi everyone,

I made a little website with flask, now I would like to generate a pdf (static) with the content of that website.

By static I mean that I will generate the PDF once, not the user.

Ideally I'm looking for a package that can edit a PDF, as such I can build a base with a regular program with a GUI and insert afterward text, image etc.. with that package.. any ideas ?

sorry the question might be already asked but I couldn't find it with the search engine as it need at least characters (PDF) :/
[Image: NfRQr9R.jpg]
Reply
#2
There are several packages available for this:
SpongeB0B likes this post
Reply
#3
Thumbs Up 
Thanks again @Larz60+ ,

Actually I didn't g00gle it, but asked the Duck [Image: dax-logo.svg] instead Big Grin

and doing so, I've found : FPDF2 and more precisely how add content to an existing .pdf

https://pyfpdf.github.io/fpdf2/ExistingPDFs.html

I will let a little review of this package here when I'm done.
[Image: NfRQr9R.jpg]
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Parquet file generation woliveiras 1 631 Dec-07-2024, 02:52 AM
Last Post: deanhystad
  Allure Report Generation rotemz 0 1,383 Jan-24-2023, 08:30 PM
Last Post: rotemz
  New .txt file Generation in Python Nirmal 1 2,996 Sep-10-2018, 01:29 PM
Last Post: ichabod801

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020