📜  python 获取脚本的位置 - Python 代码示例

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

代码示例2
import os

file_path = os.path.realpath(__file__)