【发布时间】:2013-03-26 21:27:30
【问题描述】:
我有
cmd = subprocess.Popen('dir',shell=True,stdout=subprocess.PIPE)
for line in cmd.stdout:
columns = line.split(' ')
print (columns[3])
第 3 行有错误 Type Str 不支持缓冲区 API。
我在 Python 3.3 上做错了什么
【问题讨论】:
标签: python subprocess python-3.3