14 July 2017 / python AiyPaint - A Free AIGC Application!! Free Text to Image【Python】获取相对路径的绝对路径 获取相对路径的绝对路径,或者说将相对路径转化为绝对路径,使用Python的os模块即可: import os print(os.path.abspath("../../data"))