from import and __init__.py

Gregory Ewing greg.ewing at canterbury.ac.nz
Sat Mar 27 06:18:40 CET 2010


egbert wrote:

> Yes, you are right. And I can reach everything with
> modules['some_package']
> or variants thereof.

Although note that the usual way to get it would be
to simply do

   import some_package

-- 
Greg



More information about the Python-list mailing list