TypeError:'exceptions.NameError'对象不可调用

时间:2016-06-21 14:08:33

标签: python subprocess

我正在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)

0 个答案:

没有答案