learnpython.org - an online interactive Python tutorial

jmfauth wxjmfauth at gmail.com
Sun Apr 24 11:15:20 EDT 2011


On 24 avr, 05:10, harrismh777 <harrismh... at charter.net> wrote:
>
>     I've been giving this some more thought. From the keyboard, all I am
> able to enter are character strings (not numbers). Presumably these are
> UTF-8 strings in python3.  If I enter ...


In Python 3, input() returns a unicode, a sequence/table/array of
unicode code point(s). No more, no less.

Similar to Python 2 where raw_input() returns a sequence/table/array
of byte(s). No more, no less.

jmf



More information about the Python-list mailing list