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

has hengist.podd at virgin.net
Sat Oct 11 14:50:00 CEST 2008


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) beast than the  
> old MacOS, so I think you're better off using PyObjC to do Cocoa  
> stuff, or sticking with Cross-platform libraries like wxPython.


PyObjC, py2app and appscript certainly make me a happy bunny.

And don't forget there's a complete Unix environment with various OS X  
additions hiding beneath the surface as well, e.g.:

	import subprocess
	subprocess.call(['say', 'hello world'])


HTH

has
-- 
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.sourceforge.net



More information about the Pythonmac-SIG mailing list