Re: [Templates] Using Toolkit w/python

[prev] [thread] [next] [Date index for 2004/08/09]

From: Darren Chamberlain
Subject: Re: [Templates] Using Toolkit w/python
Date: 15:24 on 09 Aug 2004
--6v9BRtpmy+umdQlo
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Tim Johnson <tim at johnsons-web.com> [2004/08/07 12:15]:
> I program in python. My partner programs in perl.
> We've settled on the Template Toolkit as a "middle ground."

I spent some time contemplating how best to port TT to python, and
decided that it was too much trouble.  The Python way and the Perl way
are a little too different.  In particular, implementing the parser in
Python was Hard, since there are a some idiosyncracies in the grammar
that were difficult to model.

> It seems to me that it would improve performance to be able to
> create a "pipe" directly to tpage, but is that possible?

Well, you could use op.system or os.popen to simply call tpage or tree,
or a more specialized Perl script that set all the TT-specific
parameters.

(darren)

--=20
The trouble with the world is that the stupid are cocksure and the
intelligent are full of doubt.
    -- Bertrand Russell

--6v9BRtpmy+umdQlo
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBF5cwzsinjrVhZaoRAm4JAJ9STb6FD2xpWIG69VW3nqCWfoD7vwCeJAIZ
5kg1UcUmFClH21jNI7ZxNBc=
=lKdU
-----END PGP SIGNATURE-----

--6v9BRtpmy+umdQlo--

_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates

[Templates] Using Toolkit w/python
Tim Johnson 20:15 on 07 Aug 2004

Re: [Templates] Using Toolkit w/python
Eric Sammer 20:18 on 07 Aug 2004

RE: [Templates] Using Toolkit w/python
Thomas, Mark - BLS CTR 14:16 on 09 Aug 2004

Re: [Templates] Using Toolkit w/python
Darren Chamberlain 15:24 on 09 Aug 2004

Re: [Templates] Using Toolkit w/python
Tim Johnson 16:37 on 09 Aug 2004

RE: [Templates] Using Toolkit w/python
Thomas, Mark - BLS CTR 17:11 on 09 Aug 2004

RE: [Templates] Using Toolkit w/python
Franco Bagnoli 06:59 on 10 Aug 2004

Re: [Templates] Using Toolkit w/python
Darren Chamberlain 12:31 on 13 Aug 2004

[Templates] Parrot (was Using Toolkit w/python)
Tim Johnson 16:14 on 19 Aug 2004

RE: [Templates] Using Toolkit w/python
Thomas, Mark - BLS CTR 13:17 on 10 Aug 2004

RE: [Templates] Using Toolkit w/python
Franco Bagnoli 16:08 on 10 Aug 2004

Re: [Templates] Using Toolkit w/python
Tim Johnson 17:39 on 10 Aug 2004

RE: [Templates] Using Toolkit w/python
Thomas, Mark - BLS CTR 17:35 on 10 Aug 2004

Generated at 08:56 on 15 Mar 2005 by mariachi v0.52