Bash Set Variable To Output Of Functions In Python