Is that really true with limited imports though, and/or with precompiled bytecode?
I was surprised to find that Ubuntu’s handler for unknown commands that tries to suggest what you could apt install is written in Python. I’ve never noticed it being slow.