Its syntax is lowest common denominator. It’s incredibly easy for people from all walks of life to pick up. It’s “good enough” for just about every task.
But really it’s because Google, Dropbox, etc made it so. Same reason Java got popular. It’s hard to beat first class corpo support even if the actual language isn’t that great.
Google certainly had a honeymoon period with Python. They hired Guido to work on some internal apps (IIRC Mondrian?). They released the original App Engine before cloud was a buzzword supporting only Python. But at some point, the default easy-to-learn language at Google became Go, and it happens to be statically typed, preventing a large class of bugs from ever being compiled. There was a manifesto about how Python and all other dynamically typed languages were unsuitable for large-scale software engineering. Only small pieces of code are still using Python.
But really it’s because Google, Dropbox, etc made it so. Same reason Java got popular. It’s hard to beat first class corpo support even if the actual language isn’t that great.