Template for Python 3

Is there a template engine for Python 3? It should be flexible (not HTML / XML oriented) and fast.

+4
source share
3 answers

There is Jinja

+7
source

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.

0
source

mako is a template that I use every day (with python3) to generate C code. Flexible, not XML / HTML oriented.

0
source

Source: https://habr.com/ru/post/1307495/


All Articles