Spotlight importers (such as the Python source code importer from Toxic Software) can be installed for single users by browsing the package to the Archive.pax.gz, and copying the .mdimporter file to ~/Library/Spotlight.
It is then necessary to tell Spotlight to index files corresponding to the new importer, with something like
/usr/bin/mdimport -r ~/Library/Spotlight/Python\ Metadata\ Importer.mdimporter
© M. Vallisneri 2012 — last modified on 2010/01/29
Tantum in modicis, quantum in maximis