Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Template-Python: The Python port of the Template Toolkit (tt2.org)
1 point by bootload on Jan 16, 2008 | hide | past | favorite | 3 comments



"... All source-code-level documentation from the Perl Template Toolkit has been copied to the Python version, with all Perl-specific terminology translated to its Python equivalent. Documentation appears in Python docstrings, as appropriate. The main body of POD documentation for each Perl module appears as the corresponding Python module's docstring ..."

Before python had a usable web framework, Perl was my toolkit of choice. And Template Toolkit (TT), [0] later TT2 was my framework of choice. Now Sean McAfee [1] has ported it to python. Wonder if I can get it to work with Django and ditch theirs?

[0] Created by Andy Wardly ~ http://wardley.org

[1] Sean McAfee ~ http://groups.google.com/group/comp.lang.python/browse_threa...


> Wonder if I can get it to work with Django and ditch theirs?

Probably. You just don't use theirs and import the Template module instead.


I wonder how often the reverse occurs (i.e. someone ports a Python module to Perl)?




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: