Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #7407 > unrolled thread

Re: Question About Command line arguments

Started byTim Chase <python.list@tim.thechases.com>
First post2011-06-10 16:28 -0500
Last post2011-06-10 16:28 -0500
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Question About Command line arguments Tim Chase <python.list@tim.thechases.com> - 2011-06-10 16:28 -0500

#7407 — Re: Question About Command line arguments

FromTim Chase <python.list@tim.thechases.com>
Date2011-06-10 16:28 -0500
SubjectRe: Question About Command line arguments
Message-ID<mailman.110.1307741322.11593.python-list@python.org>
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


[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web