🌈 搜索
📅  最后修改于: 2022-03-11 14:45:30.677000             🧑  作者: Mango
import os dirname = os.path.dirname(__file__) filename = os.path.join(dirname, 'relative/path/to/file/you/want')