I would like to make Spotlight queries using the
MDQuery/NSMetadataQuery interface in Python. I am new to PyObjc (and
mac development in general) and so right now i am using the
mdfind/mdls utilities for the queries. However, my ugly hack is too
limiting and slow and I would rather work directly with the spotlight
API. I searched the list archive and found that CoreFoundation APIs
are not currently wrapped by PyObjc (but isn't NSMetadataQuery a
ObjC/Cocoa API?). So is there any way I could interface with the
spotlight query API using Python?
Get latest updates about Open Source Projects, Conferences and News.