Setash wrote:

> Also, I have seen the following syntax used once before, and havent
> found any documentation on it, any comments as to use, where to find
> docs, etc?:
> 
>     from module import x as name
>     name.function()

All that does is give you a method for renaming a particularly unruly 
module name to something more manageable, such as this:

from xml.etree import ElementTree as ET

Then you can use "ET" to qualify your function calls and such.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to