Python locals() 函数
定义和用法
The locals()
函数返回本地符号表作为字典。
符号表包含有关当前程序的必要信息。
语法
locals()
参数值
无参数
The locals()
函数返回本地符号表作为字典。
符号表包含有关当前程序的必要信息。
locals()
无参数
If you want to use W3Schools services as an educational institution, team or enterprise, send us an e-mail:
[email protected]
If you want to report an error, or if you want to make a suggestion, send us an e-mail:
[email protected]