convert .pdf files to .txt files
syl_stand at yahoo.es
Wed Jun 14 14:23:41 CEST 2006
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!
os.system("pdftotext -layout my_pdf_file.pdf")
#This will create 'my_pdf_file.txt' file.
More information about the Python-list