On Mon, Oct 22, 2007 at 08:26:37AM -0700, Bill Janssen wrote: > 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?
CoreFoundation is C, not C++. That said, it'd probably be easier to use PyObjC with NSMetadataQuery instead. -- Nicholas Riley <[EMAIL PROTECTED]> | <http://www.uiuc.edu/ph/www/njriley> _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig