[Pythonmac-SIG] appscript

Michael Terry michael.terry at mac.com
Sat Feb 12 18:02:08 CET 2005


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 read /var/mail/appscript

... when one from the command line?

Thanks,
Mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 448 bytes
Desc: not available
Url : http://mail.python.org/pipermail/pythonmac-sig/attachments/20050212/d3977fe6/attachment.bin


More information about the Pythonmac-SIG mailing list