Shell Script Loop Through Array Python Initialize