does raw_input() return unicode?

"Martin v. Löwis" martin at v.loewis.de
Tue Oct 10 13:30:10 EDT 2006


Theerasak Photha schrieb:
>> At the moment, it only returns unicode objects when invoked
>> in the IDLE shell, and only if the character entered cannot
>> be represented in the locale's charset.
> 
> Why only IDLE? Does urwid or another console UI toolkit avoid this somehow?

I admit I don't know what urwid is; from a shallow description I find
("a console user interface library") I can't see the connection to
raw_input(). How would raw_input() ever use urwid?

Regards,
Martin



More information about the Python-list mailing list