getData missing on windows
i'm trying to reuse the same code on both Windows and Linux and i've just found the getData method is missing on Windows. Any alternative i can use?
No, there isn't anything implemented for Windows. Windows seems to not provide a parallel port API at all, just some higher level printer port API. Therefore the implementation on Windows accesses the peripheral directly, which in turn requires a driver to allow to do this. In theory, that code accessing the peripheral could be extended but there are some problems. The driver may or may not working on newer Windows versions and the way it is implemented does not support USB attached parallel ports etc.
simpleio have an inp() function that is missing in the parallelwin32.py for some reason...
Btw, both _inp() and _outp() are now deprecated, so maybe a better idea to switch to InpOut32 for Windows support.