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