Python specialized in ease of learning and running the code. Everything else came after as a byproduct of the large user base.
One reason why I switched our team from Matlab to Python was the capabilities of the core libraries. Argparse alone sold it for us.