[Tutor] raw_input

Shashwat Anand anand.shashwat at gmail.com
Mon Jul 5 17:40:03 CEST 2010


use input() instead of raw_input() in Python3.x

On Mon, Jul 5, 2010 at 8:50 PM, Dipo Elegbede <delegbede at dudupay.com> 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
>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20100705/546ff539/attachment-0001.html>


More information about the Tutor mailing list