Applescript Bundle and Python Applescript Bundle and Python shell shell

Applescript Bundle and Python


Use path to me to get the location of the AppleScript bindle, then find your script relative to it:

set controller_script to (path to me as string) & "Contents:Resources:Controller.py"do shell script "PYTHONPATH=/Applications/gtk/inst/lib/python2.6/site-packages python " & (quoted form of POSIX path of controller_script)