[Numpy-discussion] Mathematica vs Matlab vs Python
Stéfan van der Walt
Wed Jul 8 15:58:15 CDT 2009
2009/7/8 Gael Varoquaux <email@example.com>:
> On Wed, Jul 08, 2009 at 12:48:17PM -0700, Matthew Brett wrote:
>> > Yup. It's not even very idiomatic Python. readlines() is probably a
>> > bad idea unless your file is trivial length, and even ignoring
>> > numpy.loadtxt(), all of this could be considerably simplified with the
>> > built-in csv module.
>> or a 1-liner with scipy.io.loadmat ...
> No crack! Some dude built a matlab reader for Python. Crazy man!
Not even a Frenchman would be that crazy. Must've been a Brit...
More information about the NumPy-Discussion