Template for CGI
Robin Friedrich
friedrich at pythonpros.com
Tue Nov 2 13:20:12 EST 1999
That is a feature of TemplateDocument() in the HTMLgen package. You
might try downloading it from http://starship.python.net/lib.html
In article <7vn0sk$7cp$1 at news.fsu.edu>,
"Glenn Kidd" <gek8365 at garnet.acns.fsu.edu> wrote:
> I am a newbie to Python and I have a question. I want a CGI script
that
> will read a file template and replace certain words with variables.
Ii
> tried putting the variable names in the file but it is read as palin
text.
> Is there a way to embed variables into a teplate or a replace
function in
> Python? Thank you for any help you give.
>
> Glenn Kidd
>
>
Sent via Deja.com http://www.deja.com/
Before you buy.
More information about the Python-list
mailing list