Skip to content

Proposal: option for making tqdm quiet until some time has passed #1069

@Witiko

Description

@Witiko

Long-running operations waste time. Therefore, it's a common pattern to cache their results, so that they finish instantly the next time we run them. In the first case, tqdm is useful, since it tells us how many episodes of a Netflix series we will be able to binge-watch before the operation has run its course. In the second case, tqdm only clutters the terminal. Therefore, it would be useful to have a parameter that makes tqdm wait a bit before it displays the progress bar. This way, the progress bar would only be shown for long-running operations. The leave=False parameter is a step in the right direction, but it goes too far and erases useful information about the total time of long operations.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions