Home
Articles
Interview Questions
.Net
.Net Design Pattern
.Net Windows Service
ADO.NET
Android
Architecture
ASP.NET Ajax
ASP.NET Core
ASP.NET Gridview
ASP.NET MVC
ASP.NET Web API
Automation Anywhere
AWS
AWS SDK and C#
AWS SDK and Node.js
Azure DevOps
Blockchain
Bootstrap
C#
CSS
Django
Docker
Environment
Excel
Excel Formula
Firebase
Flutter and dart
GIT
HTML
HTML 5
IIS
Java
JavaScript
JMeter
JQuery
JSON
Light Switch 2011
Linux
Machine Learning
Matplotlib
Microsoft Bot Framework
Microsoft Azure
MongoDB
MSWord
Node.js
NumPy
Pandas
Photoshop
PHP
PHP Codeigniter
PostGreSQL
Powerpoint
PowerShell
Project Management
Python
React.js
Seaborn
Selenium
Silverlight
SkLearn
Software Testing
Sonarqube
Spacy
SQL Server
Togaf
UiPath
VBA For Excel
VBA For Outlook
WCF
WPF
XML
XSD
Articles
→
PYTHON
→
Alias In Namespace In Python
Alias In Namespace In Python
In 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
m
Then 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
*
*