[python-win32] Looking for Serial I/O python driver

Niki Spahiev niki at vintech.bg
Tue May 10 17:54:19 CEST 2005


Les Novotny wrote:

> Hi,
> I am looking for a python module for serial I/O such that from python on
> windows I can send a sequence of characters out COM1 followed by a
> carriage return to an intelligent device (that interprets the data) and
> then I need to capture a returned string of characters that comes back
> from the device (the string that comes back also terminates in a
> carriage return).
> 
> I have tried the pyserial module, which works for the sending of the
> data, but receiving seems to be a problem. 
> 
> Essentially I want to send a sequence and then capture the received data
> back into a variable, which I can then parse  through.
> 
> I am not subscribed to the newgroups, but if anyone has any ideas or
> seen any open source code that would work , please email it to me at
> les-novotny at shaw.ca 

I have no problem using pyserial with dumb devices (CNC). IMO it should 
work with smart devices too.

Niki Spahiev


More information about the Python-win32 mailing list