def write(self, x):
# Avoid print() second call (useless \n)
if len(x.rstrip()) > 0:
# WARNING: must use TqdmPro.write instead of tqdm.write because it's
# a classmethod affected by __new__
TqdmPro.write(x, file=self.file)
评论列表
文章目录