$test="hello world"
$python -c "print '$test'.split()[1]"
world
或者
$a="$(python -c "print '$test'.split()[1]")"
$echo $a