Definition
The globals() function returns the global symbol table as a dictionary.
Syntax
globals()
Parameters
No Parameters.
Examples
myGlobals = globals()
print(myGlobals)
The globals() function returns the global symbol table as a dictionary.
globals()
No Parameters.
myGlobals = globals()
print(myGlobals)