https://trstringer.com/python-in-shell-script/
Run Python Code in a Shell Script - Thomas Stringer