Example runs: $ python extract_text_from_pdf.py Chapter_2_Building_Malware.pdf output.txt --by_page --output_folder results $ python extract_text_from_pdf.py Chapter_2_Building_Malware.pdf output.txt --output_folder results