Quote:
Originally Posted by kovidgoyal
Both OSes because they have a strict policy of "users" first seems to have a dearth of good development tools that are also free.
|
...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.