> Is there a way to write "folder actions" for MacOS X in Python?

In fact it seems there is more than one way to use kqueue from Python,
which is more efficient than Finder Folder Actions.

First, there is effectively a Python module PyKQueue. The current version
is 1.4, available from http://ox.eicat.ca/~dgilbert/files/PyKQueue.html.
The version available at
http://fink.sourceforge.net/pdb/package.php/pykqueue-py23 is the old 1.3.

Second, there is Stakeout, an ObjC program, available from
http://michael-mccracken.net/blog/blosxom.pl/computers/mac/programming/meetWatch.html

And finally, the development of a kqueuereactor is now foreseen for
twisted. :-)

There are also kernel modules available for Linux which provide similar
functionality.

BTW: It seems that the MacOS X Finder still polls the filesystem instead of
using kqueue - Ouch.

Best regards,

Wolfgang Keller

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to