package questions

Scott David Daniels Scott.Daniels at Acm.Org
Fri May 22 13:29:29 EDT 2009

Daniel wrote:
> Hello,
> I've posted about this before, but after reading the docs, I have a
> few more questions
> here are the docs:
> here is my previous post:
> I've setup some directories for the sound package, exactly as shown in
> the examples in the docs.  In the surround file I put the lines
> from . import echo
> from .. import formats
> from ..filters import equalizer
> again, exactly as in the docs.  When I run, I get the
> following result:
> C:\sound\effects>python
> Traceback (most recent call last):
>   File "", line 1, in <module>
>     from . import echo
> ...
(1) You really should identify your OS and Python version.  I am fairly
certain it is some form of Windows, but ....
Try something like:
     C:\sound\effects> cd C:\
     C:\> python -m sound.effects.surround

(2) you can run
     python -v
     python -vv
To see files opened (or attempted and opened for -vv) in order to
discover what exactly is tried and in what order on imports.
Warning: the output is huge.

--Scott David Daniels
Scott.Daniels at Acm.Org

More information about the Python-list mailing list