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
  Node Flow Generation in Python Linenloid 0 652 Feb-21-2023, 07:09 PM
Last Post: Linenloid
  Allure Report Generation rotemz 0 781 Jan-24-2023, 08:30 PM
Last Post: rotemz
  Why doesnt chunk generation work? LotosProgramer 1 1,943 Apr-02-2022, 08:25 AM
Last Post: deanhystad
  Random data generation sum to 1 by rounding juniorcoder 9 3,415 Oct-20-2021, 03:36 PM
Last Post: deanhystad
  Calling Input for Random Generation ScaledCodingWarrior 1 1,856 Feb-02-2021, 07:27 PM
Last Post: bowlofred
  New .txt file Generation in Python Nirmal 1 2,569 Sep-10-2018, 01:29 PM
Last Post: ichabod801
  Newbie question for complicated namedtuple generation zydjohn 0 2,169 Dec-16-2017, 09:50 AM
Last Post: zydjohn
  Understanding maze generation code kleynah22 1 3,245 Nov-11-2017, 02:09 PM
Last Post: sparkz_alot
  Unwanted random generation of scripted Shapes in GASP diemildefreude 3 5,167 Oct-23-2016, 03:11 PM
Last Post: snippsat

Forum Jump:

User Panel Messages

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