[Pythonmac-SIG] Zope py2app, some progress
Bob Ippolito
bob at redivi.com
Sat Feb 12 19:00:00 CET 2005
On Feb 11, 2005, at 12:26 PM, Roger Binns wrote:
>>> All the example code is in Objective C. Quite simply there is
>>> far too steep a learning curve to get through these layers be
>>> it Objective C or pseudo objects in C plus mapping into Python
>>> land.
>> Uh, no it isn't. A fair share of the IOKit examples are pure C or
>> C++.
>
> Ok, more accurately the examples that were looking at hierarchies
> are in Objective C. And I'm sure that working with IOKit, in C or
> Objective C, once you have done it a few times is quick and easy. If
> you haven't then a time investment is needed to understand the docs,
> the examples, the types, actually write code that works, map it into
> Python etc.
There's a command-line application called ioreg that prints the
hierarchy. It is written in C, so it's only using IOKit,
CoreFoundation, and POSIX:
http://www.opensource.apple.com/darwinsource/10.3.8/IOKitTools-38/
ioreg.tproj/
-bob
More information about the Pythonmac-SIG
mailing list