osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

if STREAM.isatty():


On Sat, Aug 31, 2019 at 2:26 AM Michael Torrie <torriem at gmail.com> wrote:
>
> On Fri, Aug 30, 2019, 05:02 Hongyi Zhao <hongyi.zhao at gmail.com wrote:
>
> > On Fri, 30 Aug 2019 17:53:02 +1000, Chris Angelico wrote:
> > > (Also, why the sleep? Seems unnecessary.)
> >
> > Because without using sleep, the stuff on screen will display very
> > shortly and then disappear.  Is this not your testing result?
>
>
> No it is not. What kind of terminal are you using?

Probably a Windows computer and just double-clicking on the program to
make it do stuff.

Recommendation: If that's the case, get an actual terminal. Learn to use it.

ChrisA