print 'hello' -> SyntaxError: invalid syntax

ValdezDE at googlemail.com ValdezDE at googlemail.com
Thu Feb 7 09:52:10 EST 2008


I try to install Python in a Dell D620 with XP PRO  version 5.1.2600
and I am getting this error. I assume that some dlls are missing but I
installed form a fresh python-2.5.1.msi without errors msg.

Thanks

Roberto

Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit
(Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import this
  File "<stdin>", line 1
    import this
               ^
SyntaxError: invalid syntax
>>> 2 + 2
  File "<stdin>", line 1
    2 + 2
         ^
SyntaxError: invalid syntax
>>> print 'Hello'
  File "<stdin>", line 1
    print 'Hello'
                 ^
SyntaxError: invalid syntax
>>> help
  File "<stdin>", line 1
    help
        ^
SyntaxError: invalid syntax
>>>



More information about the Python-list mailing list