Re: integrate does not work anymore

2009-03-25 Thread Ulrich Eckhardt
Doerte wrote: > from pylab import * > from numpy import * > from scipy import * > from math import * Don't do this, read the style guide on writing Python code. > res = integrate.quad(func=f, a=x0, b=x1) [...] > NameError: name 'integrate' is not defined # try this instead from scipy import inte

integrate does not work anymore

2009-03-25 Thread Doerte
Hello, some time ago I implemented a Python script, which uses integrate.quad (...). This was done with Python 2.4 / Win2000. I'm working with Python 2.5 now, and installed Numpy, Scipy and Matplotlib. My script and also the test described below do not work anymore: from pylab import * from nump