In article <[EMAIL PROTECTED]>, Rafe <[EMAIL PROTECTED]> wrote: > >...and I completely agree. I always use the standard import form >unless absolutely necessary. However, I use 'as' to shorten the path >to the last module. For example: >>>> import app.foo.bar as bar >>>> instance = bar.Class()
Why bother with ``as`` in this case? from app.foo import bar -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "It is easier to optimize correct code than to correct optimized code." --Bill Harlan -- http://mail.python.org/mailman/listinfo/python-list