Best way to have text change during an animation?
I don't know exactly how to do it, but if you are looking into scripting methods of doing this, check out animation nodes. This sort of thing is pretty much what it was made for. You can use nodes as well as custom python script to get what you're looking for.