pyject
pyject: “Bill Bumgarner and Bob Ippolito wrote pyject, which allows injecting a complete python interpreter into any Mac OS X GUI application. Bill wrote me to say they just checked in a refactoring of it into the PyObjC mainline. So it’s here and real. The next release of PyObjC is looking to be killer!
Update: Bob writes:
pyject doesn’t do anything Python-specific, it injects an arbitrary MH_BUNDLE into an arbitrary pid.It just so happens that I wrote a library, py2app, that can create MH_BUNDLE’s that use a Mach-O init function that start up a Python interpreter and run arbitrary code as soon as you load them, but pyject (now objc.inject) has no such limitation.
Yeah, pyject is more general purpose than you’d believe just reading this posting. Injecting a python runtime is just one use case. Thanks for the clarification, Bob.
”
No comments
Jump to comment form | comments rss | trackback uri