Re: Non-web-based templating system

2006-05-02 Thread Sybren Stuvel
[EMAIL PROTECTED] enlightened us with: > I'm creating a small application in Python that uses lists and > dictionaries to create a rudimentary database. I'd like to create > some "fill-in-the-blanks" reports from this data, ideally by taking > an RTF or plaintext file as a template and replacing pl

Re: Non-web-based templating system

2006-05-02 Thread Fuzzyman
[EMAIL PROTECTED] wrote: > Hi, > > I'm creating a small application in Python that uses lists and > dictionaries to create a rudimentary database. I'd like to create some > "fill-in-the-blanks" reports from this data, ideally by taking an RTF > or plaintext file as a template and replacing placeho

Re: Non-web-based templating system

2006-05-01 Thread John Hunter
> "Alex" == Alex Martelli <[EMAIL PROTECTED]> writes: Alex> I have a certain fondness for the first over-100-lines Alex> module I wrote for Python, which eventually resulted in: As well you should! YAPTU powers the entire matplotlib website (screenshots, FAQ, what's new, etc), as evi

Re: Non-web-based templating system

2006-04-28 Thread Erik Max Francis
[EMAIL PROTECTED] wrote: > Actually, that looks even better that EmPy for what I need. :-( -- Erik Max Francis && [EMAIL PROTECTED] && http://www.alcyone.com/max/ San Jose, CA, USA && 37 20 N 121 53 W && AIM erikmaxfrancis All bad poetry springs from genuine feeling. -- Oscar Wilde -- ht

Re: Non-web-based templating system

2006-04-28 Thread qscomputing
Actually, that looks even better that EmPy for what I need. I will try out these suggestions and then see what seems best. Thanks very much. -- http://mail.python.org/mailman/listinfo/python-list

Re: Non-web-based templating system

2006-04-28 Thread has
bruno at modulix wrote: > Else you may want to look at: > - http://www.python.org/doc/2.4.2/whatsnew/node5.html > - empy : http://www.alcyone.com/pyos/empy/ > - cheetah : http://www.cheetahtemplate.org/ Also texttemplate (one of mine): http://freespace.virgin.net/hamish.sanderson/texttemplate.ht

Re: Non-web-based templating system

2006-04-28 Thread Erik Max Francis
[EMAIL PROTECTED] wrote: > Thanks, it looks like empy is what I need. :-) -- Erik Max Francis && [EMAIL PROTECTED] && http://www.alcyone.com/max/ San Jose, CA, USA && 37 20 N 121 53 W && AIM erikmaxfrancis The object of war is not to die for your country but to make the other bastard die

Re: Non-web-based templating system

2006-04-28 Thread Alex Martelli
<[EMAIL PROTECTED]> wrote: > Hi, > > I'm creating a small application in Python that uses lists and > dictionaries to create a rudimentary database. I'd like to create some > "fill-in-the-blanks" reports from this data, ideally by taking an RTF > or plaintext file as a template and replacing plac

Re: Non-web-based templating system

2006-04-28 Thread Larry Bates
[EMAIL PROTECTED] wrote: > Hi, > > I'm creating a small application in Python that uses lists and > dictionaries to create a rudimentary database. I'd like to create some > "fill-in-the-blanks" reports from this data, ideally by taking an RTF > or plaintext file as a template and replacing placeho

Re: Non-web-based templating system

2006-04-28 Thread Brett g Porter
Diez B. Roggisch wrote: > [EMAIL PROTECTED] wrote: > > Maybe the built-in string interpolation is sufficient? > > print "Hello %(name)s" % dict(name="Peter Pan") Or in recent pythons, the built-in string templating system (see http://docs.python.org/lib/node109.html) >>> from string import

Re: Non-web-based templating system

2006-04-28 Thread qscomputing
Thanks, it looks like empy is what I need. -- http://mail.python.org/mailman/listinfo/python-list

Re: Non-web-based templating system

2006-04-28 Thread bruno at modulix
Diez B. Roggisch wrote: > [EMAIL PROTECTED] wrote: > > >>Hi, >> >>I'm creating a small application in Python that uses lists and >>dictionaries to create a rudimentary database. I'd like to create some >>"fill-in-the-blanks" reports from this data, ideally by taking an RTF >>or plaintext file as

Re: Non-web-based templating system

2006-04-28 Thread Diez B. Roggisch
[EMAIL PROTECTED] wrote: > Hi, > > I'm creating a small application in Python that uses lists and > dictionaries to create a rudimentary database. I'd like to create some > "fill-in-the-blanks" reports from this data, ideally by taking an RTF > or plaintext file as a template and replacing placeh

Non-web-based templating system

2006-04-28 Thread qscomputing
Hi, I'm creating a small application in Python that uses lists and dictionaries to create a rudimentary database. I'd like to create some "fill-in-the-blanks" reports from this data, ideally by taking an RTF or plaintext file as a template and replacing placeholder tags with my data. Are there any