import os goal_dir = os.path.join(os.getcwd(), "../../my_dir") 现在,如果当前目录为 C:/here/I/am/ ,它将作为 C:/here/I/am/../../my_dir 加入它们,但我想要的 ...
確定! 回上一頁