On Sat, 2006-12-02 at 20:00 -0800, Paul Rubin wrote: > Fredrik Tolf <[EMAIL PROTECTED]> writes: > > mode, but nowhere can I find any information about how to enable > > non-blocking mode in Python. > > > > Can anyone provide me with any information on how to accomplish this? > > In Linux you'd use fcntl. Some other discussion can be found on the > web:
I was looking for os.fcntl() without finding it, but now that you reassured me, I found the fcntl module instead. However, I also found os.read() in the process, which might be a better alternative (since I can just use it normally like in C without setting extra fd flags or anything). Thanks! Fredrik Tolf -- http://mail.python.org/mailman/listinfo/python-list