Everything you did not want to know about Unicode in Python 3

Ian Kelly ian.g.kelly at gmail.com
Mon May 12 18:16:22 EDT 2014


On Mon, May 12, 2014 at 1:42 PM, MRAB <python at mrabarnett.plus.com> wrote:
> How about checking sys.stdin.mode and sys.stdout.mode?

Seems to work, but I notice that the docs only define the mode
attribute for the FileIO class, which sys.stdin and sys.stdout are not
instances of.



More information about the Python-list mailing list