how do i pipe the output of file to a variable in python?,"output = Popen(['mycmd', 'myarg'], stdout=PIPE).communicate()[0]"