get_tqdm#

get_tqdm()[source]#

Fetches a version of tqdm function that depends on the environment.

Either text-based for the IPython console or gui-based for Jupyter notebooks.

Returns:

tqdm – The function to use when wrapping an iterator (i.e. tqdm(range(n)))

Return type:

function handle