Articles → PYTHON → Alias in namespace in pythonAlias in namespace in pythonIn this we will discuss about alias in namespace in python.Alias Alias is a friendly name (or short name) given to any module name.Example Consider the following imageClick to EnlargeIn the above image, we have created the alias ‘m’ of math moduleImport math as mThen you can use attributes using aliasname.attribute.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