Python Access Parallel Port
Posted
by PPTim
on Stack Overflow
See other posts from Stack Overflow
or by PPTim
Published on 2010-05-31T17:47:45Z
Indexed on
2010/05/31
17:53 UTC
Read the original article
Hit count: 559
Hi,
I've been trying to access the parallel port with pyParallel, which is in the same sourceforge as PySerial:
http://sourceforge.net/projects/pyserial/files/
I'm getting a WidowsError: exception: priviledged instruciton. Has anyone used this module before?
import parallel
p = parallel.Parallel()
Traceback (most recent call last):
File "<interactive input>", line 1, in <module>
File "C:\Python26\lib\site-packages\parallel\parallelwin32.py", line 74, in __init__
self.ctrlReg = _pyparallel.inp(self.ctrlRegAdr)
WindowsError: exception: priviledged instruction
© Stack Overflow or respective owner