Bash Send Output To Array Python Questions