[Pythonmac-SIG] Python embedded in Cocoa
Jack Jansen
jack@oratrix.nl
Sun, 01 Apr 2001 22:09:19 +0200
It shouldn't be necessary to write any C code, I think. You can catch
sys.stdout in Python and redirect it. You can look at IDE (included
with MacPython, in :Mac:Tools:IDE) or Idle (included with all Pythons,
in :Tools:Idle) for example code.
The only thing you need then is access from Python to the specific
widget you want to put the output in, but if I understand the
ObjC/Python bridge stuff (which I haven't used, so this is all from
what I've read here) that should all be in place.
--
Jack Jansen | ++++ stop the execution of Mumia Abu-Jamal ++++
Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig ++++
www.oratrix.nl/~jack | see http://www.xs4all.nl/~tank/spg-l/sigaction.htm