[Numpy-discussion] loadtxt broken if file does not end in newline

Christopher Barker Chris.Barker@noaa....
Wed Feb 27 14:16:35 CST 2008

Alan Isaac wrote:
> Use index instead?

yup, that'll work. enclosed is another test file, with that and one 
using string.split(comments) instead.


Christopher Barker, Ph.D.

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Test-loadtxt.py
Type: text/x-python
Size: 2080 bytes
Desc: not available
Url : http://projects.scipy.org/pipermail/numpy-discussion/attachments/20080227/dee6934f/attachment.py 

More information about the Numpy-discussion mailing list