On 2/26/2012 6:12 AM, Peter Otten wrote:
Frank Millman wrote:

I seem to have a recurring battle with circular imports, and I am trying
to nail it once and for all.
...
This should be

import sound.formats.wavread

To avoid the tedious reference, follow this with
read = sound.formats.wavread # choose the identifier you prefer

--
Terry Jan Reedy

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to