[Pythonmac-SIG] embed python in cocoa

Georg Seifert georg.seifert at gmx.de
Sun May 18 20:15:20 CEST 2008


Hello,

I want wo be able to make my program scriptable with python.

My program is written in ObjectC in XCode 3 (target only for MacOSX  
10.5).

I want to embed it and use

Py_Initialize();
PyRun_SimpleString(".....

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.

Many thanks in advance
Georg


More information about the Pythonmac-SIG mailing list