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

Christopher Barker Chris.Barker at noaa.gov
Wed Feb 27 15:16:35 EST 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.

-Chris




-- 
Christopher Barker, Ph.D.
Oceanographer

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

Chris.Barker at noaa.gov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Test-loadtxt.py
Type: text/x-python
Size: 2080 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20080227/dee6934f/attachment.py>


More information about the NumPy-Discussion mailing list