说明:返回实现当前模块命名空间的字典。
def globals(): ''' 返回实现当前模块命名空间的字典 :return: 当前模块命名空间的字典 '''
示例:
运行示例
print(globals())