Ansible can be used to configure and deploy lots of different types and brands of devices automatically. Ansible is actually written in Python.
The Meraki SDK has native support for Python, so if you are only working in a Meraki space, you'll typically find things easier to do using Python because it is a general-purpose programming language