diff --git a/__pycache__/pdftotext.cpython-38.pyc b/__pycache__/pdftotext.cpython-38.pyc new file mode 100644 index 0000000..572153e Binary files /dev/null and b/__pycache__/pdftotext.cpython-38.pyc differ diff --git a/notes b/notes new file mode 100644 index 0000000..a1b3a76 --- /dev/null +++ b/notes @@ -0,0 +1,2 @@ +data we need from the aero folks: + diff --git a/pdftotext/VI-CarRealTime.pdf b/pdftotext/VI-CarRealTime.pdf new file mode 100644 index 0000000..9738630 Binary files /dev/null and b/pdftotext/VI-CarRealTime.pdf differ diff --git a/pdftotext/pdftotext.py b/pdftotext/pdftotext.py new file mode 100644 index 0000000..7ad5ef4 --- /dev/null +++ b/pdftotext/pdftotext.py @@ -0,0 +1,23 @@ +#import pdftotext + +# Load your PDF +#pdf_file = open("VI-CarRealTime.pdf" , "rb") +##pdf = pdftotext.PDF(f) + +# If it's password-protected +# with open("secure.pdf", "rb") as f: +# pdf = pdftotext.PDF(f, "secret") + +# How many pages? +# print(len(pdf)) + +# Iterate over all the pages +#for page in pdf: +# print(page) + +# Read some individual pages +#print(pdf[1006]) +#print(pdf[1007]) + +#Read all the text into one string +#print("\n\n".join(pdf)) \ No newline at end of file