python3模块和python2差异,工作积累

commands 模块:

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

python3 用subprocess 取代了commands

posted on 2018-11-14 14:12  机器大浪猫  阅读(200)  评论(0编辑  收藏  举报