Re: automatic referencing for variables?

2006-03-06 Thread [EMAIL PROTECTED]
ah! this looks like what i am looking for.. i will try these both out.. thanks! -- http://mail.python.org/mailman/listinfo/python-list

Re: automatic referencing for variables?

2006-03-06 Thread Rene Pijlman
[EMAIL PROTECTED]: >can you do something like that in python? All you did is show us some string literals, but I guess you're looking for string substitution: http://docs.python.org/lib/typesseq-strings.html This can be simplified, they say: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe

Re: automatic referencing for variables?

2006-03-06 Thread gene tani
[EMAIL PROTECTED] wrote: > i am SURE i am using the wrong terminology... > > but what i would like to do is something like this: > > pageContent=''' > {toc} > h1. Header Section > h2. Date: > {metadata:date}'''+date+'''{metatdata} > h2. Author: > {metadata:author}Len Sweet{metadata} > h1.

automatic referencing for variables?

2006-03-06 Thread [EMAIL PROTECTED]
i am SURE i am using the wrong terminology... but what i would like to do is something like this: pageContent=''' {toc} h1. Header Section h2. Date: {metadata:date}'''+date+'''{metatdata} h2. Author: {metadata:author}Len Sweet{metadata} h1. Exegesis {metadata:exegesis}'''+exegesis+'''{me