摘要: import os pwd = os.getcwd() print("当前目录: " + pwd) father_path_method1 = os.path.dirname(pwd) print("当前目录的父目录_方式一: " + father_path_method1) separator = 阅读全文
posted @ 2020-06-29 10:44 pandaly 阅读(3705) 评论(0) 推荐(0) 编辑