> Crave pardon if that question of mine was too basic to merit a
> reply,
More likely it was too complex! :-)
That post would have been appropriate on comp.lang.python, this list
is
usually more concerned with basic questions like "how does a while
loop work?"!
But we do usually try to answer
Hi, All.
Crave pardon if that question of mine was too basic to merit a reply,
but I couldn't find anything by searching. Newbie Python user here. I
finally did find the answer and thought I'd post it in case someone
might come along with the same question.
The problem is with the way I was us
Hi,
I'm trying to get the number of bytes available on an open serial device
(on Linux). I try the following commands:
>>> import os
>>> import fcntl
>>> import termios
>>> fd = os.open ("/dev/ttyS0", os.O_RDWR)
>>> fcntl.ioctl (fd, termios.TIOCINQ)
and after the last line I get the follow