[Tutor] raw_input

iamroot at ajilan.pair.com iamroot at ajilan.pair.com
Mon Jul 5 17:35:52 CEST 2010


On Mon, 5 Jul 2010, Dipo Elegbede wrote:

> Hello,
> 
> I seem to be having problems with raw_input.
> 
> i wrote something like:
> 
> raw_input('Press Enter')
> 
> it comes back to tell me raw_input is not defined, a NameError!
> 
> Is it that something about it has changed in python 3.1 or I have been writing the wrong thing.
> 
> Please enlighten me.
> 
> regards.
> 
> --
> Elegbede Muhammed Oladipupo
> OCA
> +2348077682428
> +2347042171716
> www.dudupay.com
> Mobile Banking Solutions | Transaction Processing | Enterprise Application Development
> 
> 
In Python 3, input has replaced raw_input.

This contains info about that and other things that have changed:

   http://www.ibm.com/developerworks/linux/library/l-python3-1/


More information about the Tutor mailing list