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

Mark Hammond mhammond at skippinet.com.au
Wed Jul 25 01:02:28 CEST 2007


If you have a Windows handle (such as a handle to the serial port, a handle
to a file, or a socket), you can generally use
win32event.WaitForMultipleObjects()

Mark
  -----Original Message-----
  From: python-win32-bounces at python.org
[mailto:python-win32-bounces at python.org]On Behalf Of Brian Martin
  Sent: Tuesday, 24 July 2007 12:14 PM
  To: python-win32 at python.org
  Subject: [python-win32] how to get select behavior for non-socket objects


  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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-win32/attachments/20070725/5b8cf29b/attachment.htm 


More information about the Python-win32 mailing list