from import and __init__.py

egbert egbertum at xs4all.nl
Thu Mar 25 06:16:32 EDT 2010


When I do 'from some_package import some_module'
the __init__.py of some_package will be run.
However, there will not be anything like a  package-module, 
and the effects of __init__.py seem all to be lost. Is that true ?
Or can I still do something useful with __init__.py ?  
e
-- 
Egbert Bouwman - Keizersgracht 197 II - 1016 DS  Amsterdam - 020 6257991
========================================================================



More information about the Python-list mailing list