Re: [Pythonmac-SIG] newbie questions about Mac APIs in Python

2008-10-14 Thread Joe Strout
On Oct 14, 2008, at 4:06 PM, Joe Strout wrote: Poking around in Foundation, sure enough, NSSpeechSynthesizer isn't there. A lot of other stuff is, like NSError, though. Where should NSSpeechSynthesizer be imported from, and why don't I need any other imports in my PyObjC source file? Sh

Re: [Pythonmac-SIG] newbie questions about Mac APIs in Python

2008-10-14 Thread Joe Strout
On Oct 14, 2008, at 3:58 PM, Joe Strout wrote: OK, I'm fine with (and used to, from other environments) those sorts of limitations. So in Python, how would you go about accessing those things? Just import objc and make the same calls you would in a real PyObjC app? Just to show I'm mak

Re: [Pythonmac-SIG] newbie questions about Mac APIs in Python

2008-10-14 Thread Joe Strout
On Oct 14, 2008, at 3:39 PM, Jack Jansen wrote: Some simple things "just work", also in command line tools. These are usually the CoreFoundation things that are pretty passive objects (CFDictionaries and such). Some things work fine in a command line tool, as long as you make your command

Re: [Pythonmac-SIG] newbie questions about Mac APIs in Python

2008-10-14 Thread Jack Jansen
On 14-Oct-2008, at 19:36 , Joe Strout wrote: On Oct 13, 2008, at 10:49 AM, Chris.Barker wrote: But what if we want to do some of them from a wxPython app (only when we detect we're running on a Mac, of course)? Good question -- can pyObjC play well with wx? Anyone know? Or more generall

Re: [Pythonmac-SIG] newbie questions about Mac APIs in Python

2008-10-14 Thread Joe Strout
On Oct 13, 2008, at 10:49 AM, Chris.Barker wrote: But what if we want to do some of them from a wxPython app (only when we detect we're running on a Mac, of course)? Good question -- can pyObjC play well with wx? Anyone know? Or more generally: can you invoke some Cocoa functionality from a

Re: [Pythonmac-SIG] newbie questions about Mac APIs in Python

2008-10-13 Thread Chris.Barker
Joe Strout wrote: But what if we want to do some of them from a wxPython app (only when we detect we're running on a Mac, of course)? Good question -- can pyObjC play well with wx? Anyone know? -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R

Re: [Pythonmac-SIG] newbie questions about Mac APIs in Python

2008-10-11 Thread has
Christopher Barker wrote: If you mean the Mac-specific stuff, most of that is pretty well deprecated, Deprecated, largely unmaintained, often buggy and/or obsolete, and completely gone as of Python 3: http://docs.python.org/dev/3.0/ However, OS-X really is a very different (and better)

Re: [Pythonmac-SIG] newbie questions about Mac APIs in Python

2008-10-10 Thread Christopher Barker
Joe Strout wrote: However, where are the Mac modules? Most of the references I find on the net point to dead links, or are woefully out of date. Did you find this? http://docs.python.org/library/mac.html#mac-specific-services -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Res

Re: [Pythonmac-SIG] newbie questions about Mac APIs in Python

2008-10-10 Thread Christopher Barker
Joe Strout wrote: Some of you may remember me from almost ten years ago wow! is it really that long? But yes, I remember you. Didn't you work on a plotting package, too? However, where are the Mac modules? If you mean the Mac-specific stuff, most of that is pretty well deprecated, though

[Pythonmac-SIG] newbie questions about Mac APIs in Python

2008-10-10 Thread Joe Strout
Hi All, Some of you may remember me from almost ten years ago -- I used to be quite active, and even contributed substantially to the MacPython IDE way back in the day. Then I dropped out of the Python scene entirely. Let's call that my "dark age," and call what's happening to that now