[Tutor] [OSX] "Executable" .py or pyc script (stuck at Applescript)

learner404 learner404 at gmail.com
Thu Nov 10 17:43:30 CET 2011


On Thu, Nov 10, 2011 at 4:33 PM, Rich Lovely <roadierich at googlemail.com>wrote:

>
> It looks like your script is being found fine, meaning the problem lies
> elsewhere - unless your actual app is called "avcOsxLinux.py, and you
> missed renaming it in the error message.  Try adding a print statement as
> the very first line - before any imports - to test this.
>

Sorry I missed replacing this one when I copy/pasted on the list;
 avcOsxLinux.py is "myapp.py" (I renamed it for clarity). Unfortunately the
problem is still the same.

$ python myapp.py
$ python: can't open file 'myapp.py': [Errno 2] No such file or directory


> The only reference to that filename is a french audio-visual library,
> which might not be installed on your target system.
>
> Rich "RoadieRich" Lovely
>
> There are 10 types of people in the world:
> Those who know binary,
> Those who do not,
> And those who are off by one.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20111110/d10baa5b/attachment.html>


More information about the Tutor mailing list