Tuesday, June 12, 2018

Namespace in Python


What is Namespace?

In general, Namespace is just a containers for mapping name to objects.




A set of independently identifiable expectations
+
A unique (within set) label for each member
Context + Name => Value


Namespace Containers:
->mapping-based hold volatile type of namespace
->attribute-based hold stable type of namespace
->property-based hold static type of namespace


Prev: Operators InPython

Next: Flow Control in Python

No comments:

Post a Comment

Google+ Followers