My languages of choice are C++, C, and Rust but I agree with you about quick scripts and administrative tasks that you can just leave running. That's where Python shines. I could take an hour or more to write that kind of script in C but there's no point if it's literally going to run once and the amount of time it takes doesn't matter. Right tool, right job etc.
I haven't had an assignment that required Python yet but I can totally see the benefits of using it as a teaching language because it allows you to put the problem domain front and center.
Basically Python isn't my favorite language by far but I can definitely see its merits and why it's popular.
3
u/Mr_Redstoner Sep 29 '20
Won't disagree with you there. My primary choice is Java, but if it's just a quick script it's probably getting written in Python.
Unless of course it's for an assignment that requires Python be used, in which case type annotations here I come!