Python Built-in Methods – Python globals() Function

Python globals() Function Returns the global symbol table as a dictionary Usage The globals() function returns the global symbol table as a dictionary. It contains information about all global variables. Each key in the dictionary holds the name of the variable. This dictionary is also accessible from within functions and can be used to update global variables … Continue reading Python Built-in Methods – Python globals() Function