Non blocking tty I/O

Mike solem msolem at
Thu Aug 14 04:49:46 CEST 2003

I'm reading data from the comport on linux, using 'read(1)'.  This blocks until it gets a byte.  How can I get it to not block, so that it doesn't hang forever waiting for a byte.


More information about the Python-list mailing list