Articles → PYTHON → Alias In Namespace In PythonAlias In Namespace In PythonIn this article, we will discuss aliases in namespace in Python.Alias Alias is a friendly name (or short name) given to any module name.Example Consider the following image: -In the above image, we have created the alias m of the math module.Import math as mThen you can use attributes using [alias_name.attribute_name].Posted By - Karan Gupta Posted On - Wednesday, April 17, 2019 Query/Feedback Your Email Id Subject Query/Feedback Characters remaining 250
Import math as m
Query/Feedback