Template for CGI

cramu at my-deja.com cramu at my-deja.com
Thu Nov 4 12:13:14 CET 1999


Hi

There is a sophisticated way of doing it. Take a look at
"Generating Dynamic Documents From Templates" from

http://www.python.org/doc/Publications.html

Ramu


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