Python is a pretty solid language and considering that you cannot even boot a Red Hat system without Python running its Anaconda hardware configuration subsystem, not likely to vanish soon.
However, you're correct in that its primary use is in "git 'r Dun!" projects where making something
look functional is more important that actually
being fully functional.
One of the major social media companies zoomed their way up by coding in Python, but later wrote their own Python add-ons to attempt to detect and squash the type of bugs that a language that does compile-time type checking is immune to.
But, as I've noted before, the amount of time and work required for any major system is pretty much the same regardless of language. The difference is what part of the lifecycle the most work is done in. For strong-typing languages, you spend more time in design and implementation. For scripting-style languages, you spend the time repairing bugs in production systems and explaing to the public why your home page got hacked to display "Elect Putin/Trump, USA 2024!" or "Discount Viagra 20ยข 100-ct bottle! Click Here" and how how client credit
cards are now available from a broker in Bulgaria.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.