Re: [Pyobjc-dev] Using Python from ObjC tutorial - Give it a try
Brought to you by:
ronaldoussoren
From: Ronald O. <ous...@ci...> - 2003-06-18 19:27:21
|
On Wednesday, Jun 18, 2003, at 16:17 Europe/Amsterdam, Jack Jansen wrote: > Folks, > the "using PyObjC in existing ObjC applications" tutorial is finished. > I haven't checked it in yet, > but it's attached to this mail. Please give it a spin and let me know > whether I should check it in. To start of I have one minor nit: the PythonGlue.{h,m,py} files are not in the archive :-) W.r.t. loading PythonGlue: It might not be necesary to instantiate a class, you could do everything with class methods. You could even do all the work in a +load method, but as the order in which the load methods are called seems to be undefined this is a bit scary. I noticed that you have to build the iTunes OSA module yourself, why isn't this part of MacPython? OTOH, having a description of how you build those modules is very usefull in itself. I like this example, please add it to the repository. > > Unlike the other tutorial this one doesn't contain the finished > product, as I'm not sure we can do this if I look at the Apple > license. The positive point is that this makes the tutorial tiny:-) > <tutorial_embed.tgz> I have no idea if we can distribute a modified Apple example. I don't think this is too bad. Ronald |