ah!
this looks like what i am looking for..
i will try these both out..
thanks!
--
http://mail.python.org/mailman/listinfo/python-list
[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
[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.
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