Check out the Hyperspy Workshop May 13-17, 2024 Online

format_interval#

static tqdm.format_interval(t)#

Formats a number of seconds as a clock time, [H:]MM:SS

Parameters:

t (int) – Number of seconds.

Returns:

out – [H:]MM:SS

Return type:

str