As others have said, python has been popular for about 20 years and niche for another decade before. It's the default non-C of a ton of libraries and frameworks.
Python isn't popular because of LLM's. Python is used for LLM's because it's popular. You can replace LLM in that with dozens of other labels and it's still true.
Python isn't popular because of LLM's. Python is used for LLM's because it's popular. You can replace LLM in that with dozens of other labels and it's still true.