Answer the question
In order to leave comments, you need to log in
How and with what to generate documents?
There is a site on django, written by me, there is a need to form an agreement several times a week (several pages of text) with the substitution of data from both parties, some data is always there, others need to be entered.
The format of the output document is not important, there were thoughts about google form, and about generating pdf on django, which is easier and faster, please tell me.
Answer the question
In order to leave comments, you need to log in
1. We take a ready-made document (it’s very difficult to create it from scratch)
2. Open it with either https://python-docx.readthedocs.io/en/latest/
3. Change / paste what you need
4. Save to a file or to the stream with subsequent sending by mail / return via http
PS: there will be difficulties - write (I will send a code example)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question