Gxlsystem TIY Editor
Gxlsystem 在线教程
改变方向
暗黑模式
demo_python_ref_locals_1.py:
x = locals() print(x)
C:\Users\My Name>python demo_python_ref_locals_1.py
{'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <_frozen_importlib_external.SourceFileLoader object at 0x0327C2D0>, '__spec__': None, '__annotations__': {}, '__builtins__':
, '__file__': 'demo_python_ref_locals_1.py', '__cached__': None, 'x'_ {...}}