Python 获取当前目录、获取上级目录、获取上上级目录: import os print(os.getcwd()) # 获取当前目录print(os.path.abspath(os.path.join(os.getcwd(), ".
確定! 回上一頁