[Pythonmac-SIG] Accessibility question

Dethe Elza delza at livingcode.org
Thu May 3 22:29:10 CEST 2007


Hi Rafael,

> I am a blind Mac user, in the process of learning python on the Mac.
> I use VoiceOver, a utility included with Tiger, to read, and to
> interact with screen elements (e.g., icons, text boxes, etc.).
>
> My reason for posting to this list is to ask if there is a native,
> cocoa GUI toolkit written in python. VoiceOver cannot interact with
> carbon applications,, so I don't think that I can use WXPython or
> python card to build GUIs.

Yes indeed.  The best way to create Mac applications is using the  
PyObjC toolkit (http://pyobjc.sourceforge.net/) which lets you create  
the interface using Interface Builder (which comes with the OS X  
developer tools) and write the application code in Python, but still  
interact with all of the Cocoa classes.  There are tutorials on the  
PyObjC website.

It is what I generally use for GUI applications.  You can then build  
them using py2app to get a standard Mac application and there is no  
visible sign that your application is written in Python.

I hope that helps.  If you have further questions about getting these  
tools installed or set-up, or where to get started using them, don't  
hesitate to ask.

Kind regards,

--Dethe

http://livingcode.org/



More information about the Pythonmac-SIG mailing list