is there a way to achieve an effect like this in Python?

[![enter image description here](https://i.stack.imgur.com/SnRLg.gif)](https://i.stack.imgur.com/SnRLg.gif)

I mean the flashing dots, not that green square (couldn't find a better gif).

I want to display these dots while program is working.