Symbol Table and Namespace
Explore how Python uses symbol tables to store identifier information such as type and scope. Understand namespaces as spaces for managing local and global identifiers, and learn how Python resolves naming conflicts and handles scope using the global keyword.
We'll cover the following...
We'll cover the following...
Symbol Table
Variable, function, and class names are generally called identifiers. While interpreting our program, the Python interpreter creates a symbol table consisting of identifiers and relevant information about each identifier. The relevant ...