I didn’t make myself clear what I want to do:

I have a app written in ObjectC and want to embed python to be able to run scripts from within my app. The user should be abel to write his own scripts to modify the model data. So I need to expose the data- classes to python.

for c++ it is described here:
http://www.python.org/doc/ext/extending-with-embedding.html

but how I do this with ObjectC classes?

Thanks
Georg

Am 19.05.2008 um 15:15 schrieb Jack Nutting:

Can anyone give me some advice how I wrap my cocoa classes to be able to
access them from within the python script?

I found the examples on how to wrap c/c++ functions but nothing about
ObjectC.


You'll want to use PyObjC:

http://pyobjc.sourceforge.net/

Already included in Leopard, so you may not need to even download
anything unless you need a newer version.

--
// jack
// http://www.nuthole.com

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to