获取相对路径的绝对路径,或者说将相对路径转化为绝对路径,使用 Python 的 os 模块即可: import os print(os.path.abspath("../../data")) ...
確定! 回上一頁