利用python去调用shell命令时候的踩到的坑

shell中

True的返回值是0

False的返回值是1

Python中

True的返回值是1

False的返回值是0

原文地址:https://www.cnblogs.com/randomlee/p/9368657.html