[python-win32] how to get select behavior for non-socket objects

Waldemar Osuch waldemar.osuch at gmail.com
Wed Jul 25 03:08:36 CEST 2007


On 7/23/07, Brian Martin <thebrianmartin at gmail.com> wrote:
> Hello, I understand that the select module will only work with sockets under
> windows. Is there a built-in python module for win32 that provides some kind
> of multiplexing
> ability for something like a serial port (via pyserial).
>
> thanks,
> brian
>
I do not know if it fits your purpose or how good it is but Twisted
folks have an implementation.
http://twistedmatrix.com/trac/browser/trunk/twisted/internet/_win32serialport.py

Waldemar


More information about the Python-win32 mailing list