Stupid Question?

jim moore indiana at
Fri Aug 6 00:48:48 CEST 1999

Is there a bulit in function that will give you N evenly spaced numbers
between X1 and X2.  For example: 10 numbers between 0 and 1 ([0.1, 0.2, 0.3,
It would be similar to MATLAB's linspace.
How about a function similar to range but allowing a floating point step?
Seems like there would be one out there, so I thought I'd check before I
wrote one.
Jim Moore

More information about the Python-list mailing list