I think that the main thing here is that Python is quite cool and better than some other languages. Plus taking into account the list of available frameworks (
https://webcase.studio/blog/best-python-frameworks/), you can see that it's possible to create everything with this powerful language!