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

shell中

True的返回值是0

False的返回值是1

 

Python中

True的返回值是1

False的返回值是0

posted @ 2018-07-25 22:15  random_lee  阅读(421)  评论(0编辑  收藏  举报