termios

mixo mixo at beth.uniforum.org.za
Mon Dec 3 03:34:53 EST 2001


Here is the situation : I want to connect to device
that connected on a serial port (ttySx - linux speak).
My problem : all the functions in 'termios' require a file
descriptor. Is there a way open 'ttySx' and get a file
descriptor? For instance will,
   fd = open ('/dev/ttyS0')
actually work?




More information about the Python-list mailing list