print(os.path.dirname(os.path.abspath(__file__)))
os模块:文件所在目录位置
最新推荐文章于 2023-08-08 17:29:56 发布
print(os.path.dirname(os.path.abspath(__file__)))