Tag Archives: sub

Python: local and global namespaces

// Scoping in Python revolves around the concept of namespaces. Namespaces are basically dictionaries containing the names and values of the objects within a given scope. There are four basic types of namespaces that you will be dealing with: the global, local, module, and class namespaces. Global namespaces are created when a program begins execution. [...]

Posted in Python | Also tagged , , , , , , , , | Leave a comment