Answer the question
In order to leave comments, you need to log in
What python library to use to generate html files?
What is the best way to use to generate the same type of .html?
Like Flask's render_template() and its looping in html layouts, is it possible to use Flask to generate files? Or is there another more convenient (often used) solution?
Thank you!
Answer the question
In order to leave comments, you need to log in
For Flask, Jinja2 is definitely the default templating engine, it's the de facto standard and it's very convenient.
It's not clear where you want to render templates from. If not from a flask, then you don't need a flask, just install jinja2. If, for example, from Dzhanga, then the standard Dzhanga template engine is better.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question