python os模块

os 模块提供了非常丰富的方法用来处理文件和目录。

参见:菜鸟教程Python OS 文件/目录方法    https://blog.csdn.net/swinfans/article/details/85548961

python shell执行help(os)可以查看os的帮助信息

 os.system("command") 方法中command执行成功会返回数字0

posted @ 2019-07-13 22:34  ROCKG  阅读(138)  评论(0编辑  收藏  举报