| 1 | initial version |
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/
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.