📜  获取程序路径目录 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:09.202000             🧑  作者: Mango

代码示例1
import os
os.path.dirname(os.path.abspath(__file__))