Re: [Pythonmac-SIG] Can't get ASDictionary to work (py2app problems?)

2009-06-01 Thread Ronald Oussoren
On 2 Jun, 2009, at 7:11, Nicholas Riley wrote: On Mon, Jun 01, 2009 at 09:19:01PM +0100, has wrote: Odd. The osax module appears to be puking on a System Events command (it uses SE to get a list of installed osaxen). What versions of appscript and ASDictionary? What happens if you try to impor

Re: [Pythonmac-SIG] Building a debug framework build of Python

2009-06-01 Thread Ronald Oussoren
Apple has the sources of the open-source components of OSX on their website, the python bits for 10.5.7 are here: http://www.opensource.apple.com/source/python/python-30.1.3/ . I haven't checked if this includes the configure invocation, although you could always use distutils to query the v

Re: [Pythonmac-SIG] Can't get ASDictionary to work (py2app problems?)

2009-06-01 Thread Nicholas Riley
On Mon, Jun 01, 2009 at 09:19:01PM +0100, has wrote: > Odd. The osax module appears to be puking on a System Events command > (it uses SE to get a list of installed osaxen). What versions of > appscript and ASDictionary? What happens if you try to import the osax > module into a regular scrip

[Pythonmac-SIG] Building a debug framework build of Python

2009-06-01 Thread Bill Janssen
I'd like to be able to connect to my Python programs, mainly long-running servers, and see what's going on in specific threads. To do that, I need a version of Python that's compiled with debug symbols in it. What's the correct invocation to build a debug version of Python (2.5) which matches wha

Re: [Pythonmac-SIG] Can't get ASDictionary to work (py2app problems?)

2009-06-01 Thread has
Nicholas Riley wrote: I'm trying to use appscript on my MacBook Pro running OS X 10.5.7 and the stock Apple Python. It's never had appscript installed before. However, I can't get the binary ASDictionary I downloaded to run: Traceback (most recent call last): File "/Developer/Applications/

Re: [Pythonmac-SIG] question about garbage collection with NSApplication.run()

2009-06-01 Thread Bill Janssen
Thanks, Ronald. Bill Ronald Oussoren wrote: > > On 31 May, 2009, at 20:34, Bill Janssen wrote: > > > I'm writing a Python program that has a main that looks like this: > > > >application = NSApplication.sharedApplication() > > > ># set up handler for network change notificati

Re: [Pythonmac-SIG] where do I store my Python programs

2009-06-01 Thread Piet van Oostrum
> Christopher Barker (CB) wrote: >CB> Piet van Oostrum wrote: >>> Another possibility, after Python-> start interpreter, is Python->Execute >>> Buffer. For small snippets of code this may be easier, >>> but for complete programs the shell method may be better. >CB> do check out ipython -- it