Bash Script Declare Function Python