from import and __init__.py

Gregory Ewing greg.ewing at canterbury.ac.nz
Sat Mar 27 01:18:40 EDT 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