News for hackers. Stuff that matters.
Re:Lowbar – The simplest no-nonsense loading bar for Python by loloquwowndueo on Thursday August 04, 2022 @10:37PM (#32350885)
This is nice if you have non-homogeneous tasks that need updating as different parts of the code are reached; for showing a progress bar when performing work on an iterable, tqdm seems simpler as it’s just one function call wrapping the iterable : https://pypi.org/project/tqdm/

Tqdm also has a “manual update” mode as a context manager, which looks comparable to lowbar.

Re:Lowbar – The simplest no-nonsense loading bar for Python by behnamoh on Thursday August 04, 2022 @11:42PM (#32351299)
tqdm also supports Jupyter Notebooks, which is really nice.
Re:Lowbar – The simplest no-nonsense loading bar for Python by drexlspivey on Friday August 05, 2022 @07:49AM (#32354772)
And it has no dependencies
Re:Lowbar – The simplest no-nonsense loading bar for Python by carrotmoncher on Friday August 05, 2022 @06:03AM (#32353932)
Thanks for the feedback! I was going for something different from already available loading bars, giving users maximum control while keeping the code base small.
Re:Lowbar – The simplest no-nonsense loading bar for Python by nomoreusernames on Friday August 05, 2022 @07:40AM (#32354697)
im getting into python this week after lots of years of doing other stuff and i appriciated how little code there was and how it was simple enough to get my head around quickly. thanks for sharing stranger.
Re:Lowbar – The simplest no-nonsense loading bar for Python by carrotmoncher on Friday August 05, 2022 @08:14AM (#32354993)
This started as a quick little experiment with sys.stdout, but turned into something somewhat useful!
Re:Lowbar – The simplest no-nonsense loading bar for Python by d0mine on Friday August 05, 2022 @04:02PM (#32361278)
tqdm (Arabic word taqaddum — "progress") reminds Z'Ha'Dum from Babylon 5 https://youtu.be/jdoZvo8j6tc