Re: [Pythonmac-SIG] embed python in cocoa

2008-05-19 Thread Jack Nutting
> Can anyone give me some advice how I wrap my cocoa classes to be able to > access them from within the python script? > > I found the examples on how to wrap c/c++ functions but nothing about > ObjectC. You'll want to use PyObjC: http://pyobjc.sourceforge.net/ Already included in Leopard, so

Re: [Pythonmac-SIG] New Python icons.

2006-03-22 Thread Jack Nutting
On 3/22/06, Brendan Simons <[EMAIL PROTECTED]> wrote: Chris, And  These look great!  Which one is for what?Without  knowing the original author's intent, I'd guess that the first one with a terminal-style window in the background is for the python executable itself, the second one is for .py docume

Re: [Pythonmac-SIG] book recommendation

2005-11-15 Thread Jack Nutting
On 11/15/05, Paul Davis <[EMAIL PROTECTED]> wrote: Not that my opinion has much weight on this matter, but I also recentlystarted playing with PyObjC and Cocoa.  I really noticed that the APIdocumentation that apple provides is extremely hard to navigate.  Mybuddy told me that there are programs to

Re: [Pythonmac-SIG] book recommendation

2005-11-15 Thread Jack Nutting
On 11/15/05, Dave Reed <[EMAIL PROTECTED]> wrote: I've an experienced Python programmer on Linux - I've mainly used gtkand glade for interfaces and now I'm slowly trying to get startedwith Cocoa apps on X-Code.I've got the CurrencyConverter example working in Python and I did the HelloWorld example

[Pythonmac-SIG] trouble with NSXMLDocument

2005-11-10 Thread Jack Nutting
Hi gang,I wanted to play around with NSXMLDocument a bit, and figured PyObjC would be a good way to do it.  Unfortunately, I get strange errors.>>> doc, error = Foundation.NSXMLDocument.alloc ().initWithContentsOfURL_options_error_(u"asdfkjsda.svg", 0)2005-11-10 11:03:20.618 python[1018] *** -[OC_P

Re: [Pythonmac-SIG] packagemanager for Tiger

2005-10-20 Thread Jack Nutting
On 10/20/05, thor <[EMAIL PROTECTED]> wrote: > I need to install Pygame and PyOpenGL on Tiger. I used to use the > PackageManager > from MacPython to install all the dependencies but when I went to > check MacPython > now, there is no installer for Tiger. Can I just use the Panther > installer safe

Re: [Pythonmac-SIG] messed up Tiger python install

2005-09-12 Thread Jack Nutting
On 9/12/05, Bob Ippolito <[EMAIL PROTECTED]> wrote: Patches accepted at http://sourceforge.net/projects/python :) I don't know where the packagemaker configuration file is, but here's a step toward something that would work in postflight: #!/bin/sh dialogText="Version 2.4.1 of python has now bee

Re: [Pythonmac-SIG] messed up Tiger python install

2005-09-12 Thread Jack Nutting
On 9/12/05, Robert Kern <[EMAIL PROTECTED]> wrote: Brendan Simons wrote:> Alternatively, can the path be modified by the 2.4 install script?No. Installers that do that kind of thing garner well-earned derision. Actually, I think that an installer that *asks* if you want it to do so would be quite

Re: [Pythonmac-SIG] On posting long urls

2005-05-19 Thread Jack Nutting
On 5/19/05, Arthur Elsenaar <[EMAIL PROTECTED]> wrote: > > Hi list, > > to prevent clickable urls to be broken by wrapping, surround the url > by <>. > > alongurlthatwillnotbebroken.alongurlthatwillnotbebroken.alongurlthatwill > notbebroken.alongurlthatwillnotbebroken.alongurlthatwillnotbebroke

Re: [Pythonmac-SIG] Python threading.Thread vs PyObjC performOnMainThread

2005-05-16 Thread Jack Nutting
> > Including an entire "custom" version of Python just seems like a > > bad solution to me. It may be the only solution, depending on > > various other circumstances, but it seems kind of sad to say "well, > > OS X ships with Python.framework, but it can't be used to write a > > Python IDE". > >