Hi, I'm working on a (mostly cocoa) application, and want to embed an interactive interpreter into the app. I think I have that working, at least in a Foundation-based test CLI app. (I'm sure it will be more difficult outside of the terminal environment). However, how do I give the interpreter access to the app's objects? Is there some way to pass those objects in, via PyObjC or something else, before calling the PyRun_InteractiveLoop() function? Or is there a way that I can take advantage of introspection to gain access to those objects once I've started the interpreter?
There is pyobjc.inject, which seems to be able to do this kind of introspection etc, but it's not working for me on Leopard. Plus, I'd rather explicitly embed the interpreter, rather than the injecting voodoo. (I did try loading the example InjectInterpreter.bundle into my app, but that didn't work either). Thank You, Michael
_______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig