python3没有commands模块了吗?
如图,python3没有commands模块了吗?
Deprecated since version 2.6: The commands module has been removed in Python 3. Use the subprocess module instead.
= =||
回答:
不写的很清楚了吗用subprocess代替了
回答:
用执行单个命令用os.system()
比较简单。需要输入的字符也比较少。
回答:
https://docs.python.org/2/lib...
Deprecated since version 2.6: The commands module has been removed in Python 3. Use the subprocess module instead.
`来自官方文档的搬运工`
以上是 python3没有commands模块了吗? 的全部内容, 来源链接: utcz.com/a/160946.html