Thanks for all you wrote, It will be very usefull to me, at the end I use that code and the file I introduce is converted to .txt on the directory where the file is placed, and in documents written in spanish this do not gives problems on "acentos" in words like "camión" or "introducción" that was very important to me. Thanks!
import os os.system("pdftotext -layout my_pdf_file.pdf") #This will create 'my_pdf_file.txt' file. -- http://mail.python.org/mailman/listinfo/python-list