durusmail: quixote-users: function attributes & PTL
function attributes & PTL
2003-08-28
2003-08-28
function attributes & PTL
John Belmonte
2003-08-28
I haven't looked at Quixote's PTL implementation so forgive me if this
is a naive suggestion.

I would like for Quixote's PTL system to use Python function attributes
within normal .py files.  For example:

     # html_util.py

     def paragraph(text):
        '

%s

' % text paragraph.ptl = 'html' The motivation is to have a templating system that doesn't break essential tools such as pydoc and pychecker. Regards, -John Belmonte -- http:// if l .o /
reply