Non-buffering stdout

Cecil Westerhof dummy at dummy.nl
Tue Mar 25 00:29:20 EDT 2008


With python -u script, you can make stdout unbuffered. Is there a way to do
it in the script itself? I use just a script with a shebang
(#!/usr/bin/env python) and then it is not possible to use -u.



More information about the Python-list mailing list