[EMAIL PROTECTED] schrieb:
> That is, can I change stdin from text to binary this way or is it destined
> to always be in text mode?
You can call _setmode on the file descriptor.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://m
Sorry for the off-topic post. I figured someone here would know the answer
and I don't have access to Windows to check experimentally.
The ocrad program opens its input like so:
if ( std::strcmp( infile_name, "-" ) == 0 )
infile = stdin;
else
infile = std::fopen( infile_