python3.x - python3没有commands模块了吗?
迷茫
迷茫 2017-04-17 17:26:40
0
3
737

如图,python3没有commands模块了吗?

Deprecated since version 2.6: The commands module has been removed in Python 3. Use the subprocess module instead.

= =||

迷茫
迷茫

业精于勤,荒于嬉;行成于思,毁于随。

Antworte allen(3)
巴扎黑

不写的很清楚了吗用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.


`来自官方文档的搬运工`

Beliebte Tutorials
Mehr>
Neueste Downloads
Mehr>
Web-Effekte
Quellcode der Website
Website-Materialien
Frontend-Vorlage
Über uns Haftungsausschluss Sitemap
Chinesische PHP-Website:Online-PHP-Schulung für das Gemeinwohl,Helfen Sie PHP-Lernenden, sich schnell weiterzuentwickeln!