摘要: 模块初识 os:所有跟系统有关的操作基本都是用此模块 os.system("df -h") 调用系统命令,结果输出打印在屏幕上,返回值为执行结果(0或1) os.mknod(file_name) 创建空文件 os.mkdir(dir_name) 创建文件夹 os.path.exists(path) 阅读全文
posted @ 2017-11-07 12:44 ︻◣_蝸犇り~ 阅读(176) 评论(0) 推荐(0)