"Jacob Mansfield" <cyberja...@googlemail.com> wrote
does anyone know how to replace the C comands inp() and outb() these are
used for parallel port communication

These are non standard C functions and will depend on your compiler, OS and hardware. You might be able to access them from Python via the ctypes module, especially if they are in a Windows DLL.

There is a way to access the parallel port from Python as was mentioned in a thread earlier this week(?) using pyParallel.

http://pyserial.wiki.sourceforge.net/pyParallel

But pyParallel is still in development...

HTH,


--
Alan Gauld
Author of the Learn to Program web site
http://www.alan-g.me.uk/

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to