Re: [Pythonmac-SIG] Building Numeric or Numpy Universal

2006-05-16 Thread Robert Brown
Never mind... I was apparently too quick to hit the send button.  I discovered Bob's article on the state of Universal Python and the note to make sure you install the Universal SDK.  That fixes things.On 16-May-06, at 5:42 PM, Robert Brown wrote:I've installed the universal Python on

[Pythonmac-SIG] Building Numeric or Numpy Universal

2006-05-16 Thread Robert Brown
I've installed the universal Python on my Macbook Pro... now I want to build either (preferably both) Numeric and Numpy.  I tried "python setup.py build" but I get errors.  It looks like all the standard C/++ includes aren't found, including stdio.h.Building a hello world program works fine.  Any i

Re: [Pythonmac-SIG] distributed objects with PyObjC

2006-01-13 Thread Robert Brown
What sort of crash?  It took me a while to get distributed objects working in PyObjC.  One of the problems was that oneway void was broken in PyObjC for a while.  It was fixed in the CVS version at the time, so if you're using an old copy try updating.On 12-Jan-06, at 10:17 AM, Keith Ray wrote:I'm

[Pythonmac-SIG] PyObjC and ObjC threads

2005-07-20 Thread Robert Brown
I would like to write a multithreaded application, mostly to take advantage of dual processors... first, does Python's thread API do this?  Last time I checked it would only run on one processor.I've written a thread class in ObjectiveC that works nicely.  It uses Apple's distributed objects for co

[Pythonmac-SIG] Python code in Objective C

2005-06-29 Thread Robert Brown
I've got an object written in Python (descended from NSObject using PyObjC) that I'd like to have access to in Objective-C.  There's an example where some Python code is packaged as a plugin, then loaded in an Objective-C app, but it only ends up specifying one of the objects instantiated in the ni

[Pythonmac-SIG] PyInterpreterView

2005-06-13 Thread Robert Brown
I've been thinking about writing a nice interpreter view that can be easily embedded as a debugging console in applications for a while... thanks for doing it for me!  How do I get references to my objects though?  I'd specifically like to get a reference to a controller object.  Through NSApp() I

Re: [Pythonmac-SIG] getting/setting system volume in OS X with python?

2005-05-04 Thread Robert Brown
You could use Applescript to do it too.  But PyObjC is really a wonderful tool.On 4-May-05, at 8:35 PM, Bob Ippolito wrote:On May 4, 2005, at 9:51 PM, Erik Osheim wrote: I've been developing a curses-based music player in python for thelast couple of years (http://www.bearhome.net/mpy3) and it is g