[Tutor] buffering IO

Denis Dzyubenko shad at mail.kubtelecom.ru
Mon Aug 25 08:34:50 EDT 2003


On Sun Aug 24, 2003 at 22:54:51 -0400, John P Speno wrote:
JPS> See the -u option for python, which says:
JPS> 
JPS>        -u     Force  stdin,  stdout  and  stderr  to  be  totally
JPS>               unbuffered.

thank you, this helps me.

How should I launch python-program in this case - should I use
'popen("/usr/bin/python2.2 -u /tmp/pychat.py")' or there is another way
to launch it?

-- 
Denis



More information about the Tutor mailing list