Serial Port access

Laurent Pointal laurent.pointal at laposte.net
Fri Jan 25 13:37:27 EST 2002


[posted and mailed]

"dag4004" <dag4004 at caramail.com> wrote in news:3c49c29e$0$3185
$626a54ce at news.free.fr:

> Hello,
> 
> Does any one know has a module wich allow Serial port access sttyS0 ...
> 
> 
> 

Look at this... (from clpa)
<<

            USPP (Universal Serial Port Python) Library v0.1
            ------------------------------------------------

Multi-platform Python module to access serial ports

USPP Library is a multi-platform Python module to access serial ports.
At the moment, it only works in Windows and Linux (the platforms I have
access to) but as it is written entirely in Python I hope you can extend
it to support any other platforms.

The module has the following features:

- hight level access to serial port under several platforms. -
autodetects the platform in which it is working and exports the correct
classes for that platform. - object oriented approach. - file object
semantic operations over the ports. - allows using the serial port with
different speeds and characteristics. - RS-232 and RS-485 modes (now
only RS-232). In RS-485 mode the communication is half-duplex and uses
the RTS line to control the direction of the transference. - blocking,
non-blocking or configurable timeout reads.




       URL:  
http://balder.prohosting.com/ibarona/en/python/uspp/uspp_en.html
  Download: http://balder.prohosting.com/ibarona/en/python/uspp/uspp-0_
1.tar.gz

   License:  GPL

  Categories:  Miscellany

Isaac Barona Martínez (ibarona at tid.es)
http://balder.prohosting.com/ibarona/
>>

A+

Laurent



More information about the Python-list mailing list