error in loading data into the code

nakisa nakisa.nooraee at gmail.com
Mon Oct 18 12:12:56 EDT 2010


On Oct 18, 5:02 pm, de... at web.de (Diez B. Roggisch) wrote:
> nakisa <nakisa.noor... at gmail.com> writes:
> > hello , I have started python last week,so maybe my question is a bit
> > stupid.
> > I got this error in my simple python code while trying to load data
> > into the code. I have added this libaraies
> > from pylab import *
> > from scipy import *
> > import matplotlib.mlab as mlab
> > from numpy import *
> > from scipy import optimize

thanks Diez :)




> > but get this following error :
>
> > /usr/lib/pymodules/python2.6/matplotlib/mlab.py:1267:
> > DeprecationWarning: use numpy.loadtxt
> >   warnings.warn("use numpy.loadtxt", DeprecationWarning)  # 2009/06/13
>
> > any idea ?
>
> You don't get an error. You get a warning. Crucial difference there. You
> can ignore it. You can even suppress it. But you shouldn't bother, the
> authors of mlab should.
>
> Diez




More information about the Python-list mailing list