[Pythonmac-SIG] Cleanest way to access IOKit from Python?
bob at redivi.com
Thu Jan 5 05:10:38 CET 2006
On Jan 4, 2006, at 7:45 PM, David Warde-Farley wrote:
> I've been grokking the mailing list archives and I can't seem to find
> anything but vague references to IOKit.
> Basically, I want to mess with a USB Input device (it acts kind of
> like a keyboard wedge) directly. It seems like the best way to do
> this would be through IOKit. The question is, can I do it from Python?
> Is my best option writing a Python module in C and then calling that
> from my application?
As far as I know, that's the only thing you can do... unless there's
some Objective-C framework somewhere that does what you need to do,
in which case you could just use that from PyObjC without writing an
More information about the Pythonmac-SIG