ryles ryle...@gmail.com (r) wrote:
r On Jul 25, 8:57 am, Piet van Oostrum p...@cs.uu.nl wrote:
ryles ryle...@gmail.com (r) wrote:
r According tohttp://www.python.org/doc/essays/packages.html:
r The import statement first tests whether the item is defined in the
r package; if not, it assumes
ryles ryle...@gmail.com (r) wrote:
r According to http://www.python.org/doc/essays/packages.html:
r The import statement first tests whether the item is defined in the
r package; if not, it assumes it is a module and attempts to load it.
r However, I've noticed that once a module is imported
On Jul 25, 8:57 am, Piet van Oostrum p...@cs.uu.nl wrote:
ryles ryle...@gmail.com (r) wrote:
r According tohttp://www.python.org/doc/essays/packages.html:
r The import statement first tests whether the item is defined in the
r package; if not, it assumes it is a module and attempts to load
According to http://www.python.org/doc/essays/packages.html:
The import statement first tests whether the item is defined in the
package; if not, it assumes it is a module and attempts to load it.
However, I've noticed that once a module is imported using the
`from pkg import mod' syntax, if its