Re: Python talks to a tty port... how?

Guido.van.Rossum@cwi.nl
Thu, 13 Apr 1995 10:46:27 +0200

> I would like to replace some old C code with Python. This old C code
> opens up a /dev/tty and then sets the parity, stop bits, etc etc...

Have a look at the termios module, newly documented in Python 1.2...

--Guido van Rossum, CWI, Amsterdam <mailto:guido@cwi.nl>
<http://www.cwi.nl/~guido/>