opening a serial port at a given baudrate. How?

Jim Richardson warlock at
Sat Apr 8 00:50:36 EDT 2000

On Wed, 05 Apr 2000 09:10:52 -0600, 
 Mitch Chapman, in the persona of <chapman at>,
 brought forth the following words...:

>David Arnold wrote:
>> -->"Jim" == Jim Richardson <warlock at> writes:
>>   Jim> I have been using open('/dev/ttyS0','r+') but need to control
>>   Jim> baud rate. fcntl.ioctl() will do this?
>> as someone else pointed out (sorry, lost the mail), the termios module
>> is the go for setting baud rates, parity, etc.
>Here's an old answer, courtesy  of
>Search for "# Set the baud rate."

Thanks, this is helpful :)

Jim Richardson
	Anarchist, pagan and proud of it
	Linux, because life's too short for a buggy OS.

More information about the Python-list mailing list