我在AIX 6.1上运行并使用Python 2.7.想要执行以下行但收到错误.
subprocess.run(["ls", "-l"]) Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: 'module' object has no attribute 'run'
python aix subprocess python-2.7
aix ×1
python ×1
python-2.7 ×1
subprocess ×1