Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

tqdm also works on Colab (Jupyter Notebooks) yay


To clarify, the tqdm.notebook progress bar (which is much prettier) works on Colab. If you want to make the script more agnostic, you can import tqdm.auto.

A fun quirk is that tqdm.notebook didn't work with Colab's dark mode so the text was readable; this was very recently fixed.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: