hi..
i was following the program in d tutorias given in daniweb thread.
i typed
print " Hello Cu Python!"
in the IDLE ..
but i get an error as invalid syntax ?
can anyone tell me the change to be done??

also when i use d same in command line interface i get the output properly..
but not in IDLE...
wy is it so?

This is one way to produce a syntax error:
pint " Hello Cu Python!"
or ...
Print " Hello Cu Python!"

Remember Python is case sensitive.

actually i ve pasted the exact copy of d statement from the IDLE shell.. so i don think these 2 syntax errors do exist..

actually i ve pasted the exact copy of d statement from the IDLE shell.. so i don think these 2 syntax errors do exist..

Strange, works just fine for me in either the IDLE editor or the shell.

It absolutely should work and because you said it works in the command line then it is not a problem with your syntax or python. Their is just something wrong with IDLE. With that said maybe a re-install would fix the problem.

This question has already been answered. Start a new discussion instead.