Yeah, Python as a language is a mess IMO. We used it for making a electrical simulator and the language is...bad. The variable scoping, lack of explicit variable declaration, backwards comprehension syntax, the VERY CONFUSING object orientation design, that classes aren't serializable by default, package story and deployment... It really has very little going for it, and combine all that with the awful performance characteristics it's just...no.
Today I'm "Rust if it fits, if not Rust then C#". We re-wrote the simulator in C# and performance was 70x better and the code got shorter, the deployment was hell of a lot easier since we went AOT and it just builds a native binary for the target platform. No virtual environment crap.