开发者

Python 3 Template Engine

开发者 https://www.devze.com 2022-12-27 19:14 出处:网络
Is there a template engine for Python 3? It should be f开发者_开发问答lexible (not HTML/XML centric) and fast. There is JinjaTexthon is a Python-eval based template engine with a focus on generating r

Is there a template engine for Python 3? It should be f开发者_开发问答lexible (not HTML/XML centric) and fast.


There is Jinja


Texthon is a Python-eval based template engine with a focus on generating readable code. http://texthon.chipsforbrain.org/ No prerequisites aside from Python. Texthon is primarily developed using Python 3.3, but it’s 2.7 compatible as well.


mako is the template I use everyday (with python3) to generate C code. Flexible and not XML/HTML centric.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号