On Wed, 27 May 2009 19:39:21 -0500
Eric Pruitt wrote:
> I am creating a file-like interface for Popen. Do I need to return True or
> False for "isatty()"? I am thinking True but I am not familiar with the
> semantics of what defines a tty.
>>> import os
>>> x = os.popen("ls")
>>> type(x)
Hello,
I am creating a file-like interface for Popen. Do I need to return True or
False for "isatty()"? I am thinking True but I am not familiar with the
semantics of what defines a tty.
Thanks,
Eric
--
http://mail.python.org/mailman/listinfo/python-list