[Pythonmac-SIG] PythonMac vs Python Unix for Mac OSX cgi
Jack Jansen
jack@oratrix.nl
Fri, 30 Mar 2001 11:17:34 +0200
> On Thursday, March 29, 2001, at 08:53 AM, Steven D. Majewski wrote:
>
> > If you want to interface with AppleScript,
> > use Carbon MacPython.
>
> I just thought I'd share an awful trick that I discovered yesterday.
> I'm more used to unix python, so I'm using that, but you can get
> unix python to call applescript by writing the script to a text
> file, then calling /usr/bin/osascript on that file via os.system.
Someone could try porting the "osam" contributed software from MacPython to
unix-Python. I think all the needed libraries are available, and as this
module is rather self-contained it should port more-or-less easily.
--
Jack Jansen | ++++ stop the execution of Mumia Abu-Jamal ++++
Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig ++++
www.oratrix.nl/~jack | see http://www.xs4all.nl/~tank/spg-l/sigaction.htm