Are there any efficiency or style guidelines regarding the choice
of "import <module>" vs. "from <module> import <name>, ..."?

If one only needs to import a few names from a module, are there
specific benefits to explictly importing these names?

My understanding is that both forms of the import command require
the entire module to be processed.

If this comes down purely to preference, are there PEP 8-like
standards regarding which approach to use when?

Thanks,
Malcolm
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to