wierd error after if or while

nick_knight at my-deja.com nick_knight at my-deja.com
Tue May 9 08:39:58 EDT 2000


I am a newbie - in fact I just downloaded it today, and so far it looks
like a very useful language. The only problem is I seem to be doing
something stupid. If I run the folloing bit of code

x = 4

if x==4:
print "hello"

I get the following error message

  File "<stdin>", line 2
    print "hello",
        ^

This seems perfectly legal to me - am I missing something or has the
install gone wrong perhaps.

There was one error message on install about the version of
mscvcrt???.dll being the NT version but it seemed to install correctly
after that.

Thanks

Nick Knight


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list