A.os模块:系统相关的(相对比较常用的有:os.stat('path/filename'),os.path.split(path),os.path.dirname(path),os.path.basename(path),os.path.join(path1[, path2[, ...]]),os.path.exists(path)) '''1.os.getcwd:获取当前工作目录'''print(os.getcwd())------------------------------------…