I think it's just because it is always recommended as an "easy" language that's good for beginners.
The only other thing it has going for it is that it has a REPL (and even that was shit until very recently), which I think is why it became popular for research.
It doesn't have anything else going for it really.
- It's extraordinarily slow
- The static type hints are pretty decent if you use Pyright but good luck convincing the average Python dev to do that.
- The tooling is awful.
uvis a lifesaver there but even withuvit's a bit of a mess. - The package system is a mess. Most people just want to import files using a relative path, but that's pretty much impossible without horrible hacks.
- The official documentation is surprisingly awful.
- Implicit variable declaration is a stupid footguns.
The actual syntax is not too bad really, but everything around it is.
Yeah it's great for little scripts. There's even a
cargo scriptfeature that's being worked on so you can compile & run them using a shebang.I'd use a shell script if it is literally just a list of commands with no control logic or piping. Anything more than that and you're pointing a loaded gun at your face, and should switch to a proper language, of which Rust is a great choice.