Loading modules from several directories
eugene at ulka.com
Thu Sep 19 12:32:53 EDT 2002
"Steve Holden" <sholden at holdenweb.com> wrote in message news:<lS7i9.2127$ik2.2079 at fe02>...
> "Eugene Pervago" <eugene at ulka.com> wrote ...
> > They do not intersect. Actually the structure is something like this:
> > /onedir/foo
> > dbutils.py
> > utils.py
> > auth.py
> > /anotherdir/foo - Nothing
> > /anotherdir/foo/projectA
> > User.py
> > Product.py
> > [snip]
> I'm at something of a loss to understand why both directories have to be
> called foo and what the relationship is between them. Why not foo1 and foo2?
> Am I missing something?
In this case 'foo' would be the company name. I just wanted to avoid
polluting top-level namespace and have all my modules within the foo.*
More information about the Python-list