[Tutor] python 2.7.1

Dave Angel d at davea.name
Thu Sep 6 10:59:30 CEST 2012


On 08/20/2012 12:47 AM, john wrote:
> print "hello world" #this is just something to say
>
>
>
>
>
>>>> /Users/jonathan/Documents/hello.py 
>   File "<stdin>", line 1
>     /Users/jonathan/Documents/hello.py 
>     ^
> SyntaxError: invalid syntax
>
> what am i doing wrong?
>
>
>
it would help if you showed the actual content of hello.py.   Looks to
me like the first line looks like:
   

 /Users/jonathan/Documents/hello.py 

Comment that out, and see what happens.


-- 

DaveA



More information about the Tutor mailing list