In python programming, everything is considered an object. Name is nothing but the identifier of an object. And space is an address in the main memory associated with that object. We can define namespace as a collection of names associated with the address in the main memory. There are three types of namespaces in python – Built-in Namespace, Global Namespace, and Local Namespace.