Bash Script Return Array In Python W3schools