Is it possible to use python to get True Full Duplex on a Serial port?

Grant Edwards grante at visi.com
Sat Aug 15 16:37:42 CEST 2009


On 2009-08-15, Hendrik van Rooyen <hendrik at microcorp.co.za> wrote:
> On Friday 14 August 2009 16:03:22 Diez B. Roggisch wrote:
>
>> You should *really* just use pyserial. No hassle, instant satisfaction.
>
>:-) I have downloaded and had a quick look, and I see it is
> based on the standard library's serial.Serial class - another
> battery that I have not used before.

There is no "serial" module in the standard library.  The
serial module is provided by pyserial.

> And I see that serial.Serial looks like it uses os. calls,
> which is one of the things Greg mentioned.

Indeed.  You shouldn't try to use normal open/read/write calls
with serial ports.

-- 
Grant




More information about the Python-list mailing list