Re: [Pyobjc-dev] Trying to run examples from the website
Brought to you by:
ronaldoussoren
From: Ronald O. <ron...@ma...> - 2010-01-12 10:21:23
|
On 12 Jan, 2010, at 11:16, Grzegorz Adam Hankiewicz wrote: [...] I'll get back to you about the rest of your mail. > > BTW, is there no other possibility to run pyobjc scripts than to build applications? Some parts of Cocoa only work in application bundles with a specific structure, and that includes most of the examples because they use a nib-based GUI. The implementation of NSApplication expects to run in an application bundle with specific keys in the Info.plist. Technically, any GUI access requires an application bundle but you won't notice that with Python because the python command itself uses some tricks to ensure that the actual interpreter is in an application bundle. Ronald |