Is there a template engine for Python 3? It should be flexible (not HTML / XML oriented) and fast.
There is Jinja
Texthon is a Python-eval-based template engine focused on creating readable code. http://texthon.chipsforbrain.org/ No prerequisites except Python. Texthon is mainly developed using Python 3.3, but its compatibility with 2.7 as well.
mako is a template that I use every day (with python3) to generate C code. Flexible, not XML / HTML oriented.
Source: https://habr.com/ru/post/1307495/More articles:Strange use of "&" for a novice C ++ programmer - c ++How can you replace the target of a link in Greasemonkey? - javascriptCollision detection for circles - javaC # 2.0 Compact Framework TextBox - c #CSS dropdowns that drop page content down - cssThe jQuery click event in the image fires only once - jqueryAre there any Python template engines that support Python 3.x - python-3.xRemoving items from SWT tables - swtXML Attributes Simple XML Analysis - xmlPrevent submitting browser form when Wicket AjaxFormValidatingBehaviour validation fails - javaAll Articles