Re: [Pyobjc-dev] Merging pyobj with objc?
Brought to you by:
ronaldoussoren
From: <bb...@ma...> - 2003-01-11 02:15:48
|
On Friday, Jan 10, 2003, at 16:33 US/Eastern, Jack Jansen wrote: > If you're willing to forego using Apple's Python you don't need the > bootstrap program, you can call out to Python directly. But Apple > didn't provide a framework or a shared library, only the interpreter > itself, so there's no simple way to embed Python. I will have Project Builder templates for all of these cases shortly-- tonight or tomorrow. I'm flying back stateside on Sunday, so it may not make it into the repository until early next week. Also: to access the closses, use the objc.loadBundle() function. That will cause all of the classes to be load and bound appropriately. If you pass globals() as the variable context, then the classes will be available in your code just as if you had done a 'from MyFramework import *' See Lib/Foundation/__init__.py for an example. Sorry this is terse-- I have a lot of docs on my computer now, want to finish and commit asap. b.bum |