I've been using Python3 for a while now so forgot how Python 2 handled input errors.
You could use Python 2 but you'd need to replace input() with raw_input(). But for learning I'd advise you to stick with Python3, just don't delete python2 from your PC since several Linux tools rely on it. Alan Gauld Author of the Learn To Program website http://www.alan-g.me.uk/ http://www.flickr.com/photos/alangauldphotos >----Original message---- >From : [email protected] >Date : 02/10/2014 - 00:30 (BST) >To : [email protected] >Subject : Re: [Tutor] VERY basic question > >You're a saint. I installed the latest version...3.4 and it executes >with no errors. > >Thanks Again. > > >Stefan > > >On 10/01/2014 06:25 PM, ALAN GAULD wrote: >>> Hi Alan, yes I just type python at the shell to get into interactive >>> mode. Yes all I do is hit the enter key and I get this response. Nothing >>> else. I am following a book to learn python and this is one of the first >>> exercises. The Hello World, followed by a prompt to hit enter to exit. >>> >> ok, its because you are using Python2 interpreter. >> >> Start python using python3 and see what happens. >> >> Alan g > > _______________________________________________ Tutor maillist - [email protected] To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor
