RE:applescript/python question

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Guest's Avatar

    RE:applescript/python question

    Hi Sean,

    Thanks for your fast reply. This still doesn't seem to work. I also tried changing it to
    #!/usr/local/bin/python since it looks like the Python 2.5 items are actually in there. I'm starting
    to wonder if AppleScript's 'do shell script' command is actually looking in /usr/bin for Python by
    default?

    Thanks.

    Jay
    Change the first line to
    >
    set p to "#!/usr/bin/env python"
    >
    That will execute the default python installation... assuming 2.5.2 is
    the default. Otherwise, you can change that to the absolute path of
    the 2.5.2 version.
    >
    ~Sean
Working...