The third syntax allows us to give a name of our choice to the package or module we are importing—theoretically this could lead to name clashes, but in practice the
as syntax is used to avoid them.
- 5. Modules
- from Programming in Python 3: A Complete Introduction to the Python Language, Second Edition
- Publisher: Addison-Wesley Professional
- Released: November 2009
by giving a proper alias, name collision can be avoided
Share this highlighthttp://www.safaribooksonline.com/a/programming-in-python/9044971/