You are here : python_3Built-in Functionsglobals

globals() - Built-in Functions

Return a dictionary representing the current global symbol table. This is always
the dictionary of the current module (inside a function or method, this is the
module where it is defined, not the module from which it is called).


Syntax

globals()


Example


Output / Return Value


Limitations


Alternatives / See Also


Reference