On Thu, Nov 11, 2010 at 3:05 PM, rantingrick <rantingr...@gmail.com> wrote: > Hey all you guys could be mistaken. It looks like the OP is trying to > implement some sort of ghetto database. And he may NOT necessarily > want the FIRST five lines of the file. He said (and i quote) "the > values /between/ # and #". Where # and # are starting and ending of a > range -- not necessarily the starting of the input file! However we > really need the OP to clear up these questions!
Valid point Rick. And yes my earlier post was very wrong :/ My follow-up (after realizing my mistake) might be better (using islice). cheers James -- -- James Mills -- -- "Problems are solved by method" -- http://mail.python.org/mailman/listinfo/python-list