can't figure out error: module has no attribute...

Tim Roberts timr at probo.com
Fri May 26 01:39:33 EDT 2006


"Chris_147" <chris.van.bael at gmail.com> wrote:

>Thanks for the reply.
>
>you are indeed right, they were included from different places.
>from C:\Python24\Lib and D:\mydir
>
>But the strange thing is:
>anywhere on C: the file from C:\Python24\Lib was included.
>in D:\mydir the one from that directory
>BUT: anywhere else on D: apparantly the one from D:\mydir was included
>?!
>I would expect it would come from c:\Python24\Lib.

** PLEASE ** do not copy your OWN files into c:\Python24\Lib.  That
directory is intended to contain ONLY the Python standard library.

Modules that are part of a single project should be in a common directory
for that project.  Modules that are of general interest to you for multiple
projects should be in \Python24\Lib\site-packages.
-- 
- Tim Roberts, timr at probo.com
  Providenza & Boekelheide, Inc.



More information about the Python-list mailing list