Python is an API to efficient scientific computing code. It's good for that, assuming you're using old and more verbose languages.
Look into Julia as a promising alternative -- the language itself is superbly fast (aside from initial compilation) and there's an impressive scicomp ecosystem to say the least, all written in native Julia. This allows for program rewriting / metaprogramming more broadly and is insanely powerful once you get a feel for it.
It is really remarkable how much more expressive some languages are over others. If you are satisfied with Python for everything you do, then you are not hitting the limits of its expressiveness. But for more naturally expressive code, other languages may have huge advantages for certain applications.
Look into Julia as a promising alternative -- the language itself is superbly fast (aside from initial compilation) and there's an impressive scicomp ecosystem to say the least, all written in native Julia. This allows for program rewriting / metaprogramming more broadly and is insanely powerful once you get a feel for it.