[Pythonmac-SIG] ctypes and OS X CF types?

Bill Janssen janssen at parc.com
Mon Oct 22 17:26:37 CEST 2007


I'm trying to call the Spotlight system from Python, and I thought I'd
try using the ctypes support in Python 2.5 to use the MDQuery
framework.  However, it seems that I'll have to unearth and write
ctypes definitions for a number of Core Foundation C++ types, in order
to do that.  Has anyone already done this?  Created ctypes definitions
for the standard CF types, and made them available somewhere?

Thanks.

Bill


More information about the Pythonmac-SIG mailing list