Tutorial on programming devices?

Terry Reedy tjreedy at udel.edu
Wed Mar 19 12:12:09 EST 2003


"Wouter van Marle" <wouterm at spammers-unite-here.com> wrote in message
news:b59ams$6jp3 at imsp212.netvigator.com...
> www.pyhton.org is a very valuable source on these things.
>
> And besides that, isn't reading/writing from some port (almost) the
same as
> read/write to a file? Just use /dev/ttySxx (with xx your port
number) as
> filename. Supposed to work like that (never tried myself). Just a
thought.
>
> Oh if you are not in Linux/Unix/etc it will probably be different.
In DOS I

In WIN/DOS, I believe, one can open "com1:', 'lpt1:', etc.  But using
pyserial or higher-level package is probably better way to go.

TJR








More information about the Python-list mailing list