On 2005-09-12, Jacek Pop?awski <[EMAIL PROTECTED]> wrote:
>>         ready = select.select(tocheck, [], [], 0.25) ##continues after 0.25s
>>         for file in ready[0]:
>>             try:
>>                 text = os.read(file, 1024)
>
> How do you know here, that you should read 1024 characters?
> What will happen when output is shorter?

It will return however much data is available.

-- 
Grant Edwards                   grante             Yow!  I'm a fuschia bowling
                                  at               ball somewhere in Brittany
                               visi.com            
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to