Bash Script Return Array In Python