module naming?

Michal Wallace (sabren) sabren at manifestation.com
Sun Apr 16 20:59:26 EDT 2000


On Mon, 17 Apr 2000, David Arnold wrote:

> -->"Michal" == sabren  <Michal> writes:
> 
>   Michal> Is there a better way to do this?
> 
> what about something like
> 
>    from Record import Record
>    from Field import Field
>    from IdxDict import IdxDict
> 
> in your zdc/__init__.py ?
> 

Hey David,

  That's certainly a lot cleaner! But is there a way to do that and
not have it load each one of those files every time? There's actually
more than 3, and even though they're all fairly small, I'd rather not
have the overhead of loading them until they're needed.

Cheers,

- Michal
-------------------------------------------------------------------------
http://www.manifestation.com/         http://www.linkwatcher.com/metalog/
-------------------------------------------------------------------------





More information about the Python-list mailing list