By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,666 Members | 1,351 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,666 IT Pros & Developers. It's quick & easy.

RE:applescript/python question

P: n/a
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


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.

Aug 2 '08 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.