[Tutor] Capturing user input

Adrian at home adrianhome@webspinners.co.uk
Wed, 20 Jun 2001 18:49:15 +0100


Alan

Yep, you are correct.  I upgraded and viola! it works great, thanks -:)
Thanks for the responses and D-man thanks for the info.

Adrian

----- Original Message -----
From: <alan.gauld@bt.com>
To: <adrianhome@webspinners.co.uk>; <tutor@python.org>
Sent: Wednesday, June 20, 2001 5:15 PM
Subject: RE: [Tutor] Capturing user input


> > understand why this will not work.  I am using IDLE and a
> > tutorial, the following code is to capture the user input:
> >
> > name = raw_input ("What is your name? ")
> > print name
>
> There was a bug in early versions of IDLE (pre 0.5) which means
> raw_input() did not always work. Try running the script at a
> DOS Python prompt and see if it works there. If so its IDLE that's
> broken, you should ideally upgrade your Python version or at
> least upgrade IDLE to v0.5
>
> Assuming you are on an earlier version of course!
>
> Alan G
>
> _______________________________________________
> Tutor maillist  -  Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.259 / Virus Database: 130 - Release Date: 05/06/2001