标签: python subprocess
我正在TypeError: 'exceptions.NameError' object is not callable
TypeError: 'exceptions.NameError' object is not callable
import subprocess from subprocess import call command = 'sudo /home/ubuntu/hadoop-2.6.0/bin/hadoop fs -put '+hadoopInputFile+ ' /input' rtVal = subprocess.call(command,shell=True)