Parallel port monitoring

Skip Montanaro skip at
Fri Aug 1 18:41:45 CEST 2003

    Mark> I've read many threads regarding parallel port manipulation, but
    Mark> is there anything that can simply monitor what's happening on the
    Mark> parallel port, and perhaps react to certain events on said port?
    Mark> I would much rather do that than simply program a preset wait
    Mark> time.

Assuming you can get a file object out of your parallel port you should be
able to pass it to or select.poll() and let them tell you
when bytes are available to read.


More information about the Python-list mailing list