in linux/install_gpu_driver.py [0:0]
def print_out(cls, msg: str, end=os.linesep, print_=True):
if cls.STDOUT_LOG_F:
cls.STDOUT_LOG_F.write(msg + end)
cls.STDOUT_LOG_F.flush()
if print_:
print(msg, end=end, file=sys.stdout)