News for hackers. Stuff that matters.
Re:Tqdm (Python) by heavenlyblue on Friday December 17, 2021 @08:04AM (#29591568)
They are stupid for using visualisations that break standard python logging.
Re:Tqdm (Python) by joelschw on Friday December 17, 2021 @08:35AM (#29591861)
It's for interactive sessions not background ones
Re:Tqdm (Python) by heavenlyblue on Friday December 17, 2021 @12:17PM (#29595137)
Yeah, exactly. The software I write is complex enough to require logging of hundreds of progress bars at the same time.

The great thing that just using `logging` module is enough to log something like `Downloading file A, 55% [55Mb/100Mb]` (absolutely equivalent in terms of information to a "graphic bar") and also happens to be composable in a way that I can then reuse that package as part of anything that is also non-interactive.