标签:div file style dir code imp port base sed
import os basedir = os.path.abspath(os.path.dirname(__file__)) print(basedir)
python获取当前文件所在的绝对路径
原文地址:https://www.cnblogs.com/songyanxin/p/11063771.html