[Pythonmac-SIG] Python and OSA

Russell E Owen owen@astro.washington.edu
Fri, 21 Jun 2002 08:40:00 -0700


Jack asked (probably rhetorically): "(btw: are Bill and myself the 
only two people interested in Interface Builder and such, or is 
everyone just too busy?...)".

Interesting question. If I understand correctly, making python a full 
OSA component means:
- It could be used for easily for controlling programs via Apple 
Events (for instance any application that edits or runs AppleScript 
would edit or run Python scripts).
- Perhaps (based on your reference to IB) Python could be used for 
programs with native Mac look and feel via InterfaceBuilder.

Sounds like a good thing in principal, but not something I'd 
personally make use of right now. I certainly don't see myself 
writing Mac-specific anything, as most of my coworkers have moved off 
of the Mac platform. All my Python work at the moment is in 
cross-platform GUI programming (in Tkinter, sigh) and in basic 
utility scripts for text processing and such.

I did a lot with AppleScript in the past. I wrote ROFM CGI, a free 
CGI for serving FileMaker Pro data, and it was painful because of the 
limitations in AppleScript. Python would have been wonderful. I've 
toyed with reviving ROFM with Python (now that FMPro has crippled 
web-serving capabilities in the affordable version), but I understand 
there's a PHP interface and plan to try that first.

-- Russell