469,621 Members | 1,685 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,621 developers. It's quick & easy.

Autoflush in python cgi

How can i do the autoflush effect in a python cgi?
In perl i know how do that but not in python...
Can anyone help me?

Thanks in advance
Gianluca Trombetta

Jul 18 '05 #1
1 2465
Gianluca Trombetta:
How can i do the autoflush effect in a python cgi?

Start Python with the "-u" option.

Also, try a web search for "python autoflush" and you'll find expanded
answers, like using a wrapper around sys.stdout to do a flush after
every write

as well as some philosophy on why Python differs from Perl on this regard.

Jul 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

By using this site, you agree to our Privacy Policy and Terms of Use.