How to use the outp(...) command

Todd Gardner piir at earthlink.net
Mon Dec 8 00:14:29 CET 2003


"Terry Reedy" <tjreedy at udel.edu> wrote in message news:<zfGdndYj_4YJtk-i4p2dnA at comcast.com>...
> "Todd Gardner" <piir at earthlink.net> wrote in message
> news:9b849915.0312060146.7630d752 at posting.google.com...
> > I think all I have to do is figure out how to use the outp(...)
> > command.
> 
> Python itself does not have such a command.  Is there something in standard
> lib?
> 
See the following module.  I believe there is an outp() command like
in C if you use this module.

From: Gandalf (gandalf at geochemsource.com)
Subject: Re: Writing to the parallel port (Mem 0x378) when runnning
WinXP or
*************************************************
> http://pyserial.sourceforge.net/pyparallel.html
*************************************************

> > This is my first project in python and it seems a bit daunting.  I am
> > trying to communicate to a custom device via the parallel port.  At
> > this point I only want to write data to the data port.  In my case the
> > memory address is x378.
> 
> Python itself is, generally, unaware of 'memory addresses'.
> 
> > I installed: Python 2.2, giveio_setup.exe and
> > pyparallel-0.1.win32-py2.2.exe.  I was running Python2.3 but I don't
> > think that it will matter for this newbie project.
> 
> Perhaps giveio... and pyparallel... (which I don't remember any clp mention
> of before today) have outp() and one of the docs will tell you more about
> how to use it.
> 
> TJR
>
I have not yet found docs that tell me how to use the functions
however, I am still betting the modules have them.

Todd




More information about the Python-list mailing list