"Sebastien" <[EMAIL PROTECTED]> wrote
> I read a couple of python examples with the CGI module on how
> to deal with forms, but only how to create a new page entirely
> with cgi and python, not how to change only a part on an
> already existing page.
CGI always generates new pages. It has to because it is
returning a new page to the browser. But you can fake it
quite easily by using something like:
imprt cgi
print '''
<HTML><HEAD>....<BODY>.....
'''
if specialCondition()
print '''<P>Optional HTML here as required'''
else: print ''' <P>Default content instead...'''
print '''
<P>And the rest of the page goes here....
</BODY></HTML>
'''
HTH,
Alan G.
_______________________________________________
Tutor maillist - [email protected]
http://mail.python.org/mailman/listinfo/tutor