On 1/5/2011 5:55 PM Bubba said...
Does this work for binary files? (Like PDFs)
I don't know what you want -- pdf's are not line oriented so searching for \n's is sketchy from the get go.
I figured this was homework to test something.... Emile -- http://mail.python.org/mailman/listinfo/python-list