[Tutor] Cant get "print "hello world"" to work

Kirby Urner urnerk@qwest.net
Thu, 27 Jun 2002 16:32:37 -0700


At 04:02 PM 6/27/2002 +0000, Dont Know Tell Me Plz wrote:
>Whenever i try to run anything it always tells me...
>        File "C:\Python22\hello.py", line 3
>              hello world
>                             ^
>It always points at the 1 of the last numbers digits or " 's
>
>Plz Help Me

You should post the source code -- what code are you trying to run?

The one liner:

print "Hello world"

should work if you put hello.py in your python22 subdirectory and go:

  c:\python22:> python hello.py

at the DOS prompt.

Why do you have 3 lines?

Kirby