applescript/python question
jyoung79 at kc.rr.com
jyoung79 at kc.rr.com
Fri Aug 1 21:26:48 EDT 2008
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
More information about the Python-list
mailing list