peek poke for win32
Ignacio Vazquez-Abrams
ignacio at openservices.net
Wed Sep 19 17:24:57 EDT 2001
On 19 Sep 2001, jsnyder wrote:
> Is there any python library function that will implement a simple
> peek/poke to the PC parallel port, bypassing the HAL. I did a deja
> news search and only found things from 1998 or earlier. Hopefully
> someone has done this since then.
Peeks and pokes are Evil in any kind of an advanced operating system. You
have to open LPT1: (or LPT2: or whatnot) as a file and then use ioctl()s to
modify its settings.
--
Ignacio Vazquez-Abrams <ignacio at openservices.net>
More information about the Python-list
mailing list