#744·tqdm

如何使用 logging 模块,将进度条创建到文件而不是 sys.stderr 中?

作者: evandrocoan创建于 2019年5月13日更新于 2026年9月8日
标签question/docs ‽
  • I have visited the [source website], and in particular
  • I have searched through the [issue tracker] for duplicates
  • I have mentioned version numbers, operating system and environment, where applicable:
python
import tqdm, sys
print(tqdm.__version__, sys.version, sys.platform)
# 4.23.4 3.7.2 (default, Jan  2 2019, 17:07:39) [MSC v.1915 64 bit (AMD64)] win32