how to access ports ?

Oleg Broytmann phd at emerald.netskate.ru
Fri Jul 23 09:16:02 EDT 1999


On 23 Jul 1999 r.skowronek at fz-juelich.de wrote:
> Well, how do I access arbitrary ports?
> I managed to read and write to serial ports easy, but I would like to access
> an mca card at addresses 0x220 - 0x31f.
> I checked the docs but did not see any reference to hardware access - or did
> I not look in the right places?

   Hardware access is too hardware/software/OS dependent, generic langauage
like Python cannot handle it in portable way.
   If you can program in C, and if you agree to learn "Python Extending and
Embedding" - write extension module for your particular task in C.

> Thanks for any hints.
> 
> Rolf

Oleg.
---- 
    Oleg Broytmann        Netskate/Inter.Net.Ru        phd at emerald.netskate.ru
           Programmers don't die, they just GOSUB without RETURN.





More information about the Python-list mailing list