Python as Keyword

The "as" keyword is used to create an alias for an imported module.

Example

Python
import system as s
# instead of using sys, we can now use s
print(s.copyright)

Output

Copyright (c) 2001-2018 Python Software Foundation.
All Rights Reserved.

Copyright (c) 2000 BeOpen.com.
All Rights Reserved.

Copyright (c) 1995-2001 Corporation for National Research Initiatives.
All Rights Reserved.

Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam.
All Rights Reserved.