Bash Send Output To Array Python