Bash Send Output To Array Python Initialize Class