communicate with serial port (ttyS0)

Marian Schubert maio at stoupa.sh.cvut.cz
Mon Jul 1 10:54:38 EDT 2002


On Mon, 1 Jul 2002 06:54:39 -0700 (PDT), Shaun Schulze <shaunschulze at yahoo.com> wrote:
>Hi 
>
>I am running Debian/Linux kernel 2.4.17.
>I need to communicate between custom hardware and my
>python script via a serial port, eg. ttyS0, at
>115.2kb/s.
>I would like to know how to receive and send data to
>and from the serial port. I would also like to know
>how to set the baud rate of the serial port to
>115,2kb/s. If anyone has some examples it will also be
>much appreciated.

http://www.google.com/search?q=python+serial+port

CU,
Maio




More information about the Python-list mailing list