Output from a python script to a calling program.

Neil Hodgson neilh at scintilla.org
Wed Jun 21 04:20:03 EDT 2000


> Yep, that did the trick. The question now is can I turn off buffering
> from inside the script?

   You can call flush on the outputs when you want output to appear.

   You can open the console with buffer size set to 0 and then assign this
file to sys.stdout and sys.stderr.

   Neil






More information about the Python-list mailing list