07 2023 档案

摘要:一、os模块: 1、os.name() 描述:显示当前使用的平台,'nt'表示Windows,'posix' 表示Linux 语法:os.name 2、os.getcwd() 描述:返回当前进程的工作目录。 语法:os.getcwd() 3、os.chdir() 描述:改变当前工作目录到指定的路径。 阅读全文
posted @ 2023-07-19 16:57 Ericup 阅读(134) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示