On 06/10/2011 04:00 PM, Benjamin Kaplan wrote: > On Fri, Jun 10, 2011 at 11:31 AM, Tim Chase >> if os.isatty(sys.stdin): #<-- this check > > Any reason for that over sys.stdin.isatty()? my knowledge of os.isatty() existing and my previous lack of knowledge about sys.stdin.isatty() :) -tkc