First time here? Check out the FAQ!
answered 2020-09-03 19:30:14 +0100
Since you didn't provide an example I'm not 100% sure what you want to do. Anyway you should have a look at jinja:
https://pypi.org/project/Jinja2/