I was looking for an Xcode/Leopard/PyObjC tutorial that actually worked. I
cam across the one on Apple's site,
http://developer.apple.com/cocoa/pyobjc.html
but it's old and will not work (PyAvenger). It compiles, but throws a
runtime error I decided I didn't want to track down.
At the point of the failure, I did not know if my system was set up
properly. I've had so many different versions of Python installed over the
years, who knows if the problem I saw was due to my system setup, or the
tutorial.=20
Then I found another tutorial that seems to work quite well with no tweaks.
Find=20
Cocoa for Scientists (Part XX): Python Scripters...Meet Cocoa
at
http://www.macresearch.org/node/4527
This tutorial is a bit more sophisticated than the Apple one, but still
pretty easy to follow. What this proved to me is that my system is set up
just fine, working with pyobjc2.0 and python2.5.1.
I think Apple's tutorial could work with some tweaks to the code, and a
fairly major rewrite to the tutorial itself.
I'm going to go look for some other tutorials!
--=A0
Richard Brosnahan
Editor in Chief
Broz News
http://broznews.org
Adventure is worthwhile.
Amelia Earhart, pilot
|