On Sep 17, 2010, at 2:40 PM, Neil Hodgson wrote: > oops, I meant to save my post but I sent it instead - doh! > > In the end, the question was; is worth adding start= and stop= markers into > loadtxt to allow grabbing sections of a file between two known headers? I > imagine it's something that people come up against regularly.
genfromtxt comes with skip_header and skip_footer that do what you want. Earlier this week, I corrected a bug w/ skip_footer on the SVN (now git) version of the sources. Please check it out. Try to be as specific as possible with your input options, that'll make genfromtxt more efficient. _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion