Re: [Pythonmac-SIG] Embedding Python in Cocoa

2007-12-03 Thread Michael Terry
Sweet, thanks! Michael On 12/3/07, Andrew Trevorrow <[EMAIL PROTECTED]> wrote: > Michael Terry wrote: > > > Suppose you had a Cocoa program that executed Python scripts > > periodically. If global variables were set, they'd retain their values > > between

[Pythonmac-SIG] Embedding Python in Cocoa

2007-12-02 Thread Michael Terry
n the program starts and not finalize it until the program closes--or will it be more complicated than that? Control interactive Python with Expect? Something else? Thanks, Michael Terry ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org

[Pythonmac-SIG] appscript

2005-02-12 Thread Michael Terry
Hi, I installed the appscript module. Can someone explain to me why the following script: #!/usr/bin/pythonw from appscript import * peopleRef = app('Address Book.app').people.filter(its.emails != []) print zip(peopleRef.name.get(), peopleRef.emails.value.get()) ... errors with: from: can't r