-
Notifications
You must be signed in to change notification settings - Fork 6
Home
Welcome to the PDF_Search wiki!
Can you help me.
pi@MORSE:~/Documents/PDF_Search $ ls -la
insgesamt 28
drwxr-xr-x 5 pi pi 4096 14. Feb 15:33 .
drwxr-xr-x 9 pi pi 4096 14. Feb 15:29 ..
drwxr-xr-x 8 pi pi 4096 14. Feb 15:29 .git
drwxr-xr-x 2 pi pi 4096 14. Feb 15:30 PDFs
-rw-r--r-- 1 pi pi 1120 14. Feb 15:29 PDF_SEARCH.py
-rw-r--r-- 1 pi pi 3297 14. Feb 15:29 README.md
drwxr-xr-x 3 pi pi 4096 14. Feb 15:29 src
pi@MORSE:~/Documents/PDF_Search $ python PDF_SEARCH.py
File "/home/pi/Documents/PDF_Search/PDF_SEARCH.py", line 13
print "There is no PDFs directory, must create PDFs directory and populate with desired pdf files"
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("There is no PDFs directory, must create PDFs directory and populate with desired pdf files")?
pi@MORSE:~/Documents/PDF_Search $ nano PDF_SEARCH.py
pi@MORSE:~/Documents/PDF_Search $ sudo python PDF_SEARCH.py
File "/home/pi/Documents/PDF_Search/PDF_SEARCH.py", line 13
print "There is no PDFs directory, must create PDFs directory and populate with desired pdf files"
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("There is no PDFs directory, must create PDFs directory and populate with desired pdf files")?
pi@MORSE:~/Documents/PDF_Search $ nano PDF_SEARCH.py
pi@MORSE:~/Documents/PDF_Search $ nano PDF_SEARCH.py
pi@MORSE:~/Documents/PDF_Search $ sudo python PDF_SEARCH.py
File "/home/pi/Documents/PDF_Search/PDF_SEARCH.py", line 20
print "Converting ", pdf, "to plain text for analysis"
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Converting ", pdf, "to plain text for analysis")?
pi@MORSE:~/Documents/PDF_Search $ nano PDF_SEARCH.py
pi@MORSE:~/Documents/PDF_Search $ sudo python PDF_SEARCH.py
Traceback (most recent call last):
File "/home/pi/Documents/PDF_Search/PDF_SEARCH.py", line 18, in <module>
ofilename = string.replace(pdf, "PDFs", "Texts")
AttributeError: module 'string' has no attribute 'replace'
pi@MORSE:~/Documents/PDF_Search $ nano PDF_SEARCH.py