Python is not going to die anytime soon because you can use it as the core programming language for your project. As well as, it does an amazing job as a supportive language for your project. For example, due to the simplicity in writing mathematical algorithms, we use Python as the backbone to a PHP application.
Another thing we use Python for is writing server scripts to perform tasks without having to Bash script everything. I love Python, even though I’ll admit it’s not my first choice of language for certain projects. I only use it sparingly for micro services and server scripts.
There is a reason that most of the new technology that comes out in the AI sphere is written in python. That reason is how easy the scripting is in Python. In terms of popularity, it has been on the steady increase in recent years. With no end in sight, Python should definitely not be classified as a dying computer programming language. In fact, Assembly the other language mentioned in the question has seen a much larger decline in recent years then Python.
Rey’s response can be found here on the orginal Quora