THanks ... I am new to Python ... Comparing the result of find with -1 fixes the bug ... some of the endobj start in the firt position ...
You're right about the lines ending in \n by accident, EXCEPT in PDF files items are separated by obj <<\n and endobj\n -- --------------------------------- --- -- - Posted with NewsLeecher v4.0 Final Web @ http://www.newsleecher.com/?usenet ------------------- ----- ---- -- - -- http://mail.python.org/mailman/listinfo/python-list