Forwarding to the list.

-------- Original Message --------
Subject:        Re: [Tutor] "Print" on 3.1 for Mac?
Date:   Mon, 29 Jun 2009 12:38:43 +0100
From:   andré palma <andre...@gmail.com>
To:     Christian Witts <cwi...@compuscan.co.za>
References: <ac56af79a36314157de09d7d78770ffa.squir...@webmail.ithstech.com> <4a489e92.2040...@compuscan.co.za>



try to find out if is there any space before "print". Sometimes some
text editors put an empty space in the beginning of the lines and
sometimes that causes some erros.
On Mon, 2009-06-29 at 12:59 +0200, Christian Witts wrote:
l...@ithstech.com wrote:
> Have I installed something incorrectly in Python 3.1 for Mac if I get a
> syntax error on
>
> print "hello world"
>
> ?
>
> My Python 2.3.5 executes this just fine.  What have I missed?
>
> Thanks much for anything, Lev
>
>
>
> _______________________________________________
> Tutor maillist  -  Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
>
> Please take a read through http://docs.python.org/3.0/whatsnew/3.0.html for a list of changes from the 2.x series to 3.x. It includes the fact that the print command is now a function and needs to be called accordingly, ie. print("Hello world!")





--
Kind Regards,
Christian Witts


_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to