[Tutor] Python programming book material
Alan Gauld
alan.gauld at btinternet.com
Sat Jul 5 00:07:29 CEST 2014
On 04/07/14 19:35, Sunil Shenoy wrote:
> I did get Python installed etc. and tried some code fragments and right
> away run into a syntax error in the following line:
> print ("June", end=" ")
Looks like your book is for Python v3 but you have installed Python v2.
You need to get v3.
If you are using a Windows PC I recommend the ActiveState.com
version over the official p[ython.org one.
> Thanks for addressing my stupid beginner questions
Its not stupid and catches a lot of people out.
There were big changes between V2 and V3.
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.flickr.com/photos/alangauldphotos
More information about the Tutor
mailing list