[Pythonmac-SIG] pythonw and python with applescript

Bob Ippolito bob at redivi.com
Tue Dec 13 19:29:22 CET 2005

On Dec 13, 2005, at 10:02 AM, Zhi Peng wrote:

> I posted a few items in a few days. I think the first
> problem I had is that it can not import python module
> when I used "from appscrpt import *" inside modue
> because appscript need pythonw instead of python. Here
> is the error message:


> It seems PyImport_ImportModule also use python instead
> of pythonw.

You need to create an application bundle to run your application  
from.  pythonw is just a shell script that executes a Python  
interpreter that lives inside of an application bundle.


More information about the Pythonmac-SIG mailing list