I have searched the web for a while now, and I still have no idea how to display text in a terminal that's updateable with function. (I'm talking about something like the application install progress bar in Linux updating what it displays)

Is it possible to make a line of text in Terminal that can be updated with a Function in Python?

Thanks in Advance