[Tutor] syntax error
Christian Witts
cwitts at compuscan.co.za
Thu Jun 25 16:50:35 CEST 2009
Christopher Altieri wrote:
> loaded python 3 and 3.1 several times on vista. tried first command:
> print "hello world' but keep getting syntax error. what am I doing wrong?
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Tutor maillist - Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
>
Python 3.0+ print has been changed to a function so you need to do
print("Hello World!")
--
Kind Regards,
Christian Witts
More information about the Tutor
mailing list