There is no shortage of programming languages that can choose from. Python seems to make the right tradeoffs between accessibility and power. The market has spoken.
It's not just about the market speaking. There's path dependence between it being easy to use for scripting and scientific things as well as bumpy which made it natural to supplant things like Matlab in teaching. And then basic knowledge translates to industry jobs.
It's not popular purely based on its merits as a language