View Single Post
Old 10-19-2007, 12:33 PM   #18
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,459
Karma: 27757438
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by mrkai View Post
...for mac os x is in fact free, ships with every mac, and is included with every commercially sold copy of mac os x; it is also available in its entirety as a free download from apple.

anyway, os x has a mechanism that is the inverse of polling (very inefficient) where you simple tell the os to tell you when a removable is mounted, what it was, and then your code decides what to do with it.

I'm not a python guy, but i know that pyobjc bridges the cocoa apis direct to python...and that this bridge actually will be shipping by default on the system with 10.5. right now, you bundle it if you wish to use it.
I'm glad to hear that it does have this. Do you have a link to some documentation about this system. I can always write a python extension to use cocoa, or ship pyobjc with libprs500.
kovidgoyal is offline   Reply With Quote