Can Python serial support run at 45.45 baud?

John Nagle nagle at animats.com
Sat Feb 14 11:27:29 EST 2009


    Can Python's serial port support be made to run at 45.45 baud, the old
"60 speed" Teletype machine speed?  I've restored a Model 15 teletype from
WWII.  Works great after cleaning, oiling, and adjustment.  There's
Perl support for this, and a Perl program ("http://www.buzbee.net/heavymetal")
that runs the things.  I'd like to do something similar in Python, both
on Windows and Linux.

    I'm proposing to use Python 2.6, PyWin32-212, and PySerial 2.4.
The PySerial interface allows requesting a specific baud rate, but does that
propagate properly all the way down into Windows?   And what about
Linux, where the "stty" interface is quite different?

					John Nagle



More information about the Python-list mailing list