osdir.com


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

if STREAM.isatty():


Hi,

I read the following code:

https://github.com/shichao-an/homura/blob/master/homura.py

On the line 265-266, it said:

        if STREAM.isatty():
            p = (self.progress_template + '\r') % params


What's mean by using the above two lines?  Can I not use them?

Regards