Programming languages are typically chosen based on what is needed. All of them have some features and lack some of them per their nature.
If I’m working on a small script that needs to interact with various different objects and doesn’t need to be optimised; I’ll use Python to write it.
TF2 and TF|2