Lament: Import is not very smart.
John Roth
newsgroups at jhrothjr.com
Wed Jul 14 08:29:09 EDT 2004
"Greg Ewing" <greg at cosc.canterbury.ac.nz> wrote in message
news:2ljm4dFch6u1U1 at uni-berlin.de...
> Lonnie Princehouse wrote:
> > Suppose that you've a package named "foo" which contains module "bar".
> > Because you're careless, you've also put foo/ into your path...
>
> The solution to that is not to be careless (i.e. don't
> put overlapping entries into your path).
Sometimes it isn't carelessness. You wouldn't believe the
amount of trouble that caused me with the FIT port.
John Roth
>
> --
> Greg Ewing, Computer Science Dept,
> University of Canterbury,
> Christchurch, New Zealand
> http://www.cosc.canterbury.ac.nz/~greg
>
More information about the Python-list
mailing list