Skip to content

tqdm.print #2

@Nepta

Description

@Nepta

printing while a progress bar is broken since it use a "\r" / reprint

maybe we should have a tqdm.print that add some text to the side of the bar when a progress bar is displayed ?

something like that:

local sum = 0
for i in tqdm.range(1,1000)
   sum = sum + stuff(i)
   tqdm.print("cumulative sum : "..sum)
end

would display the progress with additional user info:
[####### ] [500/1000 | 150Hz | 30s : 50s] { cumulative sum : 4242 }

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions