values of sys.platform? for a serial port lib
cliechti at gmx.net
Sat Dec 29 15:49:03 EST 2001
i've written a portable serial port library. it runs now on linux and win32
(using marks win32all) but i would like to make it compatible with more
unix like platforms. basicaly it should run on any POSIX compilant system.
i'm interested in values for "sys.platform" and, if possible, the name of
the serial port (an how the ports are numbered ttyS0, ttyS1 etc.)
e.g "linux2" and "/dev/ttyS%d" % port, numbering starting at zero.
the library is open source and optimized for binary communication including
access to the control lines.
i'll post a link just after i have added the new platforms and a licence
Chris <cliechti at gmx.net>
More information about the Python-list