Interfacing Parallel Port in Python
I need a tutorial or perhaps more on using Python to print data from a开发者_如何学Python PARALLEL port. Any ideas?
Thanks.
The mentioned PyParallel package is now available on PyPI: https://pypi.python.org/pypi/pyparallel
I tested it successfully with GNU/Linux (Xubuntu 15.10) and Python 3.4.
Have a look at pyserial. http://pyserial.sourceforge.net/ and examples: http://pyserial.sourceforge.net/examples.html
I have some more examples, just need to find them.
Edit: Sorry, I meant pyParallel http://pyserial.sourceforge.net/pyparallel.html
Some examples:
http://orionrobots.co.uk/PyParallel http://pyserial.svn.sourceforge.net/viewvc/pyserial/trunk/pyparallel/examples/lcd.py?revision=398&view=markup
精彩评论