RS232 module

Neil Benn neil.benn at cambridgeantibody.com
Thu Apr 26 04:41:55 EDT 2001


Hello,

If you're prepared to use Jython then you could use the javax.comm package
supplied from Sun.  This is a very good package which works on Unix, Linux,
Mac, PCs and a lightbulb (well not yet but give sun time!).  They state that
the parallel port support is weak but I've never tested it (due to not
needing to do that).

Cheers,

Neil

"Ben Hutchings" <ben.hutchings at roundpoint.com> wrote in message
news:uitjsdc1q.fsf at roundpoint.com...
> Oliver Vecernik <vecernik at aon.at> writes:
> <snip>
> > how for example is the port configured (baudrate, handshake, ...)
> > under Linux. I can't believe that there is no robust module for
> > that! Can anyone give me a hint?
>
> See the tcsetattr and tcgetattr functions of the termios module (and
> the Unix manual pages for the underlying functions of the same names).
>
> --
> Any opinions expressed are my own and not necessarily those of Roundpoint.





More information about the Python-list mailing list