Home >>Python Built-in Functions >Python globals() Function
Python globals() function is employed to return the global symbol table as a dictionary. a symbol table contains necessary information about the present program. It doesn't aceepts any parameter value.
Syntax:globals()Here is an example of Python globals() function:
x = globals()
print(x)