摘要: # coding=utf-8import oscurrentPath = os.getcwd() # 当前目录parent_path = os.path.dirname(currentPath) #将当前目录传入得到当前目录的父目录print(parent_path) 阅读全文
posted @ 2015-09-06 11:57 3H 阅读(2586) 评论(0) 推荐(0) 编辑