07 2023 档案

摘要:import os #文件、目录 print(os.getcwd())#返回当前工作目录 os.chdir('..')#返回上一级,相当于cd .. # print(os.getcwd()) print(os.curdir)# . 返回当前目录字符串 print(os.pardir)# .. 返回当 阅读全文
posted @ 2023-07-10 20:05 尐少 阅读(14) 评论(0) 推荐(0) 编辑

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