主页
Python
Python locals() 函数
demo_ref_locals2
运行 ❯
×
更改方向
保存代码
更改主题
x = locals() print(x["__file__"])
demo_ref_globals2.py