On Sun, Dec 8, 2013 at 8:46 PM, Varuna Seneviratna < [email protected]> wrote:
> But what is meant by "A *namespace* is a mapping from names to objects" > Steven touched on this, but I'd like to emphasize: in Python, EVERYTHING is an object - variables, functions, integers, strings, you name it. (Even names and namespaces, but that might be getting a little TOO meta.) When I first came to Python, after years of languages where some things are objects and other things aren't, this concept gave me a little trouble; once I got my head around it, namespaces made sense too.
_______________________________________________ Tutor maillist - [email protected] To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor
