how to check how many bytes are available to read() ?

Darrell dgallion1 at yahoo.com
Fri Mar 15 10:30:33 EST 2002


Examples of using pipes and the work around for blocking reads.
Use os.read(fileHandle)

http://ezwiki.com/2.54/python/popenTest.py
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=527783&group_id=5470

--Darrell

grante at visi.com (Grant Edwards) wrote in message news:
> 
> If f is a pipe, then you can use select -- at least under Unix.
> I don't know about Windows.



More information about the Python-list mailing list