Are there any Python template engines that support Python 3.x

They all seem to be working on Python 2.x.

(Actually, I want to use a more widely used engine that supports Python 3.x.)

+1
source share
4 answers

The just released Jinja 2.3 has experimental support for Python 3. http://lucumr.pocoo.org/2010/2/10/jinja-2-3-released

+4
source

If you don't mind using beta software, the recently released moody templates were written for Python 3 from scratch.

https://github.com/etianen/moody-templates

+2
source

Perhaps very outdated, but Mako supports python 3.

+1
source

first search result wiki template page ; which includes at least one templating engine , which states that it runs on Python 2.4, 2.5, 2.6, and 3.0 .

0
source

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


All Articles