>> Interesting. Is there now a Python-Objective C bridge? >> > > There has been for some time. Apple even documents it. See links below. > > http://developer.apple.com/cocoa/pyobjc.html
Dang: PyObjC is just one of many Cocoa bridges. Apple has offered its Java bridge since Mac OS X 10.0, and Mac OS X Tiger 10.4 rolled out a JavaScript bridge which allows Dashboard Widgets to communicate with Objective-C objects. Third-party developers have also created bridges for C#, Lisp, Perl, Ruby and Smalltalk to name a few. And, of course, Python. How many of those are still around in 10.7? Is Java the only dead one? Hmm. Perl? Lisp? Did anyone ever make a Prolog bridge? ... PyObjC's maturity is unmatched—it's been around longer than even Apple's Java bridge (it originated on NeXTstep). Finally, while PyObjC is a third-party bridge, ... Ahh. Not an Apple technology :-). ... so you just need to install the Python/Objective-C bridge itself from the PyObjC project homepage (PyObjC 1.3.7 is the current version as of this writing). ... and not default :-) ... and it looks like the last release (2.2) was two years ago, and has this warning: "It is technically possible to install new versions of PyObjC into the system install of python (such as using /usr/bin/easy_install). We advise not to do that however, because bits of the system may use PyObjC and we're not 100% upward compatible w.r.t. the version of PyObjC that's included with MacOSX." Kleiman-ibook:To Install michael$ port info pyobjc Error: Port pyobjc not found Kleiman-ibook:To Install michael$ -- Political and economic blog of a strict constitutionalist http://StrictConstitution.BlogSpot.com This message may have been spell checked by a laptop kitten. _______________________________________________ MacOSX-admin mailing list [email protected] http://www.omnigroup.com/mailman/listinfo/macosx-admin
