第九章 Python 标准库参考
Python os 模块提供操作系统相关接口,包括文件与目录操作。使用前要 import os。
import os
mkdir
rmdir
remove
rename
listdir
getcwd
walk
path_exists
path_join
os.path
os.path.join