python shell command output to variable