Controlling the Parallel Port
Bill.Scherer at VerizonWireless.com
Wed Dec 27 16:48:11 CET 2000
SWIG, the Simplified Wrapper and Interface Generator, is available at
It makes it easier, sometimes trivial, to make a module for your
favorite interpreter from a c lib.
For the parapin lib, it was trivial...
If you get SWIG and the parapin lib, you can have a working parapin
module for Python in about five minutes...
Simon Faulkner wrote:
> Cheers Bill,
> I have found the link and, indeed, several other c links.
> So, pardon my Python ignorance, but what is SWIG?
> I am already searching...
> On Wed, 27 Dec 2000 09:52:43 -0500, Bill Scherer
> <Bill.Scherer at VerizonWireless.com> wrote:
> >There is a parallel port library for linux at
> >that is simple to SWIG into a Python module.
> >I can send you the .i file for this if you want.
> >I haven't really used it, but it loads and reads the port status just
> >Simon Faulkner wrote:
> >> Is it easy to control (read/write) the Parallel Port in linux using
> >> Python?
> >> I am hoping to use it to drive some simple electronics
> >> (Usual disclaimer understood - If it smokes then you probably got the
> >> wiring wrong!)
> >> Simon
> >> Simon Faulkner
> >> --
> >> http://www.python.org/mailman/listinfo/python-list
> Simon Faulkner
William K. Scherer
Sr. Member of Applications Staff - Verizon Wireless
More information about the Python-list