import vs from module import : any performance issue?
Pierre Rouleau
prouleau at impathnetworks.com
Sun Mar 7 12:06:54 EST 2004
Thanks to all that replied. For anyone interested, I also found the
following links useful:
- Fredrik Lundh provides sound advices in his `Importing Python
Modules`_ note: http://www.effbot.org/zone/import-confusion.htm
- The section *Imports* of `PEP-8, Style Guide for Python Code`_ :
http://www.python.org/peps/pep-0008.html
- Also read `Importing * From a Package`_ in the Python Tutorial.
http://www.python.org/doc/current/tut/node8.html#SECTION008410000000000000000
Pierre
More information about the Python-list
mailing list