from import and __init__.py
- From: egbert <egbertum@xxxxxxxxx>
- Date: Thu, 25 Mar 2010 11:16:32 +0100
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
========================================================================
.
- Prev by Date: Re: threads (specifically timers) and releasing resources
- Next by Date: Re: the Python Foundation
- Previous by thread: xpat error in xmlrp client. How to inspect data.
- Next by thread: Re: from import and __init__.py
- Index(es):