Setting Port Speed in Linux Python: HOW?

Neil Schemenauer nascheme at enme.ucalgary.ca
Fri Jun 9 19:44:47 EDT 2000


Darren Enns <dmenns at home.com> wrote:
>What simple (Linux) Python code can be used to set the baud rate
>of a serial port?

Look at the termios module.  Specificly termios.tcsetattr().

    Neil

-- 
"Reliability means never having to say you're sorry." -- D. J. Bernstein



More information about the Python-list mailing list