[Tutor] buffering IO
Denis Dzyubenko
shad at mail.kubtelecom.ru
Mon Aug 25 05:44:16 EDT 2003
Hello,
I need to disable buffering for some file descriptors. For regular files
I can use third argument of open(fname, mode, bufsize), but what to do
with stdin and stdout? In C I can use setvbuf function to disable
buffering, but I can't find python-version of this function.
I am writing a front-end to python console application and buffering
isn't a good idea in this situation.
--
Denis
More information about the Tutor
mailing list