Re: Tutorial on programming devices?
by Terry Reedy other posts by this author
Mar 19 2003 5:12PM messages near this date
Re: Tutorial on programming devices?
|
Re: Tutorial on programming devices?
"Wouter van Marle" <wouterm@[...].com> wrote in message
news:b59ams$6jp3@[...]..
> 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
--
http://mail.python.org/mailman/listinfo/python-list
Thread:
Enno Middelberg
Enno Middelberg
Andrew Bennetts
Wouter van Marle
Terry Reedy
yaipa h.
Peter Hansen
|