On 1/5/2011 3:12 PM kanth...@woh.rr.com said...
I want to use Python to find all "\n" terminated strings in a PDF file, ideally returning string starting addresses. Anyone willing to help?
pdflines = open(r'c:\shared\python_book_01.pdf').readlines() sps = [0] for ii in pdflines: sps.append(sps[-1]+len(ii)) Emile -- http://mail.python.org/mailman/listinfo/python-list