Absolute beginner

lucbonne at hotmail.com lucbonne at hotmail.com
Wed Dec 30 06:48:00 EST 2009


Hi there,
I installed python 3.1 on Windows Vista PC.
Am an absolute beginner with Python.
This is my problem :

In Idle :

Python 3.1.1 (r311:74483, Aug 17 2009, 17:02:12) [MSC v.1500 32 bit
(Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> print "Hello"
SyntaxError: invalid syntax (<pyshell#0>, line 1)

At a dos-prompt :

Python 3.1.1 (r311:74483, Aug 17 2009, 17:02:12) [MSC v.1500 32 bit
(Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> print "Hello"
  File "<stdin>", line 1
    print "Hello"
                ^
SyntaxError: invalid syntax
>>>

Looks stupid, probably is, but I cannot figure it out.

Thanks for any help !

Lucky




More information about the Python-list mailing list