Unbounded computation is necessary when working on either event driven architecture (block/wait for something, run it, block/wait again) or working with frames.
I can’t imagine making a game (though not sure who makes games in python) without a while loop to run on the main thread.