An idea - request for comments

Felix Puetsch puetsch at gmx.de
Tue Aug 3 19:21:47 CEST 1999


I.Clarke at strs.co.uk (Ian Clarke) wrote in
<37A6A2DB.9B11FB01 at strs.co.uk>: 

>It is to create a Python web server which automatically parses
>embedded Python in HTML (there is a Perl extension that does this
>too).  So, for example, the following HTML code:
>
><HTML>
><HEAD>
><TITLE>
>{
>  n = 10
>  print n*2
>}
></TITLE>
></HEAD>
><BODY>
>{
>  print n*3
>}
></BODY>
></HTML>
>

How would you make a web page display this message, e.g.? I think you 
should at least define environments for Python code. ('<!--' etc.) Do 
you know PHP3?

-- 
Felix Pütsch




More information about the Python-list mailing list