Bash Send Output To Array Python Definition