[Numpy-discussion] Unexpected tofile() behavior

Pauli Virtanen pav@iki...
Thu Feb 4 15:39:34 CST 2010


to, 2010-02-04 kello 15:28 -0600, Jeffery Kline kirjoitti:
> I am experiencing unexpected behavior with the tofile() function.  I
> try to write two files with but distinct names, but only one of the
> files is written.
> 
> The following code illustrates. For me, it only writes the file 't.bin'.
> 
> from numpy import *
> t=arange(0,1,0.1)
> T=arange(0,1,0.1)
> t.tofile('t.bin')
> T.tofile('T.bin')
[clip]
> My system is Mac os x 10.6.2, running python 2.6.4.

http://davidwinter.me.uk/articles/2008/05/17/mac-os-xhfs-case-insensitive-why/




More information about the NumPy-Discussion mailing list