A
A
AntVlad2020-12-11 14:59:57
Python
AntVlad, 2020-12-11 14:59:57

Library for python to generate html file locally?

Tell me, is there a solution for creating html files on the fly? I am making a parser that pulls out the necessary pieces of code with data (tables), and I think that the best solution would be to simply insert them into a ready-made html template and save the information as an html file to disk. I just don't want to store a lot of markup and styles in variables, concatenate strings, etc. Maybe there is a solution?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir Kuts, 2020-12-11
@fox_12

Jinja2

D
Drill, 2020-12-12
@Drill

Nikola, a Static Site and Blog Generator

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question