If you don't already have xpdf, you can get it here: http://glyphandcog.com/Xpdf.html
Install it and then try what Baiju said, should work. I've used it, its good, that's why I say it should work. If any problems, post here again. ------------------------------------------------------------------------------------------- Vasudev Ram Independent software consultant Personal site: http://www.geocities.com/vasudevram PDF conversion tools: http://sourceforge.net/projects/xtopdf ------------------------------------------------------------------------------------------- Baiju M wrote: > Davor wrote: > > Hi, my name is david. > > I need to read information from .pdf files and convert to .txt files, > > and I have to do this on python, > > If you have 'xpdf' installed in your system, > 'pdftotext' command will be available in your system. > > Now to convert a pdf to text from Python use system call. > For example: > > import os > os.system("pdftotext -layout my_pdf_file.pdf") > > This will create 'my_pdf_file.txt' file. > > Regards, > Baiju M -- http://mail.python.org/mailman/listinfo/python-list