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

Alan Isaac aisaac@american....
Wed Feb 27 13:58:03 CST 2008

On Wed, 27 Feb 2008, Christopher Barker wrote:
> The issue here is a result of what I consider a wart in python's string 
> methods -- string.find() returns a valid index( -1 ) when 
> it fails to find anything. 

Use index instead?

Alan Isaac

More information about the Numpy-discussion mailing list