The as keyword

When used with import statements, the as keyword is used to rename the imported object.

When used with with statement, the as keyword is used to bind the value returned by the context object’s __enter__ method to a target list.

Note that as isn’t a reserved keyword in current versions of Python. This may change in future versions.

 

A Django site. this page was rendered by a django application in 0.01s 2010-09-02 15:10:31.400372. hosted by webfaction.