On Sat, Jun 15, 2002 at 09:57:27AM -0700, Erik Myllymaki wrote: > import sys > f=open(pdf_filename) > y = f.read() > f.close() > return y > --------------------------------------------------- > > But I always get a *File is damaged* error no matter what PDF file I give open(pdf_filename, "rb") will probably solve your problem. hth Jerome Alet