约 265 字
约 1 分钟
说明:返回实现当前模块命名空间的字典。
def globals(): ''' 返回实现当前模块命名空间的字典 :return: 当前模块命名空间的字典 '''
示例:
print(globals()) 运行代码>>> Establishing WebAssembly Runtime. >>> Standby. Powered by Shift.
print(globals())
>>> Establishing WebAssembly Runtime.
>>> Standby.
Powered by Shift.
创建于 2025/5/9
更新于 2025/5/11