It's just magic, and I hate it ...

Lars Marius Garshol larsga at ifi.uio.no
Mon Jun 21 16:21:47 EDT 1999


* Mitchell Morris
|
| When run from the browser, however, the redirect doesn't happen
| until the child finishes. To recap, this is exactly the situation I
| need to avoid.

Try doing a sys.stdout.close() at the point where you want the
redirect to happen.

--Lars M.




More information about the Python-list mailing list