python | 解决文件无法找到问题

import os
dirpath = os.path.dirname(os.path.abspath(__file__))

在文件前加上dirpath

猜你喜欢

转载自blog.csdn.net/weixin_43236007/article/details/112187365