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?