On 22/12/2007, Fredrik Lundh <[EMAIL PROTECTED]> wrote: > > Cesar D. Rodas wrote: > > > I am newbie in Python, but I like it very much. > > > > Right now I am having a problem, I am working with mod_python in apache. > > What I needing is a stdout buffering, that means that everything that I > > send to stdout keep it in a variable, then flush it and clear. > > plug in a StringIO instance on sys.stdout, or use (or adapt) a library > designed for this purpose: > > http://www.mnot.net/cgi_buffer/
hum, seems working right if I'll code but what about if I want to print the content of the function "help()" (which print and return nothing) into a website? Can I inherit the class system and override the output? </F> > > -- > http://mail.python.org/mailman/listinfo/python-list > -- Best Regards Cesar D. Rodas http://www.cesarodas.com http://www.thyphp.com http://www.phpajax.org Phone: +595-961-974165
-- http://mail.python.org/mailman/listinfo/python-list