On Wed, Mar 24, 2010 at 09:35, Nadav Horesh <[email protected]> wrote:
> Any idea why
>
>  from .io import StringIO
>
> and not
>
>  from io import StringIO
>
> ???
>
> (Why is the extra "." before "io")

It is a relative import, i.e. numpy.lib.io .

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
  -- Umberto Eco
_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to