From 495813760c9a7b18de8cdca88c6a755d466c5750 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Madon?= <mael.madon@irit.fr> Date: Thu, 17 Nov 2022 16:09:24 +0100 Subject: [PATCH] nicer print of parsing progress --- swf2userSessions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swf2userSessions.py b/swf2userSessions.py index f87f43d..b100ea2 100755 --- a/swf2userSessions.py +++ b/swf2userSessions.py @@ -17,7 +17,7 @@ def swf2sessions(input_swf, out_dir, delim_approach, delim_threshold, for line in input_swf: i += 1 if not quiet and i % 100000 == 0: - print("Processing swf line", i) + print(f"\r\033[KProcessing swf line {i}", end="") res = r.match(line) if res: -- GitLab