点击运行
x = locals() print(x["__file__"])
运行结果