[Tutor] Running Existing Python

शंतनू shantanoo at gmail.com
Sat Feb 26 22:20:05 CET 2011


On 27-Feb-2011, at 2:40 AM, Justin Bonnell wrote:

> On Feb 26, 2011, at 4:49 AM, Dave Angel wrote:
>> 3) You don't tell us where the hello.py file actually is.  Presumably it's not in the current directory when you run that.  Two cures for that:  either specify its real location,
>>     python   ~/mysources/hello.py
> 
> --This is the location of the file:
> 
> 	/jwbonnell/bin/Python 2.7/Extras/Demo/tkinter/guido/hello.py

You need to escape space.

Try

/jwbonnell/bin/Python\ 2.7/Extras/Demo/tkinter/guido/hello.py


There is '\' before space.



More information about the Tutor mailing list