[Tutor] Running Existing Python

Steven D'Aprano steve at pearwood.info
Sat Feb 26 12:39:11 CET 2011


Justin Bonnell wrote:
> Okay. When I try to run the script from the terminal, it still doesn't work. Here is a screenshot.

Please don't send screenshots except as a last resort. Just copy and 
paste the error message -- it is ordinary text in a terminal window.

The error seems pretty straight-forward: it says no such file or 
directory. You're telling Python to run the file "hello.py" in the 
current directory. There obviously is no such file -- either you got the 
name wrong (perhaps it is "Hello.py"?) or it is in another directory.



-- 
Steven



More information about the Tutor mailing list