From 885a72c87d22007e53203458a4990e0b9636e6e5 Mon Sep 17 00:00:00 2001 From: linlin Date: Sun, 4 Oct 2020 19:14:51 +0200 Subject: [PATCH] New translations test_tqdm.py (French) --- lang/fr/notebooks/tests/test_tqdm.py | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 lang/fr/notebooks/tests/test_tqdm.py diff --git a/lang/fr/notebooks/tests/test_tqdm.py b/lang/fr/notebooks/tests/test_tqdm.py new file mode 100644 index 0000000..e408760 --- /dev/null +++ b/lang/fr/notebooks/tests/test_tqdm.py @@ -0,0 +1,33 @@ +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- +""" +Created on Fri Apr 3 10:38:59 2020 + +@author: ljia +""" + +from tqdm import tqdm +import sys + +print('start') + +for i in tqdm(range(10000000), file=sys.stdout): + x = i +# print(x) +# ============================================================================= +# summary +# terminal, IPython 7.0.1 (Spyder 4): Works. +# write to file: does not work. Progress bar splits as the progress goes. +# Jupyter: +# ============================================================================= + +# for i in tqdm(range(10000000)): +# x = i +# print(x) +# ============================================================================= +# summary +# terminal, IPython 7.0.1 (Spyder 4): does not work. When combines with other +# print, progress bar splits. +# write to file: does not work. Cannot write progress bar to file. +# Jupyter: +# =============================================================================