@nixCraft I use Python all the time as the main scripting language when the script needs more than a few conditionals or has to process text.
For my embedded systems work, I use it to drive functional tests of hardware using PyTest, often together with PySerial.
I use Python tools like Sphinx and Jupyter whenever possible too.
It's a great language for tooling once you understand how to use the extensive library system, and minimize external dependencies.
@rhempel @nixCraft I love Jupyter. The mix of Jupyter and Sphinx in the form of Jupyter Book is incredible.
Pytest is incredible. Maybe there's equivelent in one of the more modern languages like Rust or Go, but I've yet to see anything that matches pytest in what it is capable of and what it makes easy.
C++ and Python mix really well also. Pybind11 makes it pretty easy.
@crazyeddie @rhempel @nixCraft Since Jupyter tends to not play well with git, I recently discovered #marimo. The reproducible execution alone is worth it. Check it out.