[Python-Dev] RE: Windows IO

"Martin v. Löwis" martin@v.loewis.de
Mon, 17 Mar 2003 23:12:07 +0100


David LeBlanc wrote:
> Is isatty a built-in, a function of os only available on Unix, or a function
> of sys available on all platforms? It appears to be a function in the sys
> module and so the doc for it should go there?

*This* question definitely is off-topic for python-dev. Python-dev 
readers are supposed to study the Python source code to answer such a 
question.

> So, really, what is the meaning of "64" as the return from
> sys.stdout.isatty()?

Use the source, Luke.

Regards,
Martin