From beaee5556b0396cb774301cf1a097e1b128da682 Mon Sep 17 00:00:00 2001 From: erwan-QA <56927993+erwan-QA@users.noreply.github.com> Date: Wed, 27 Nov 2019 14:03:15 +0100 Subject: [PATCH] typo and SyntaxError, correction? Modification to repair this error: Extracting robotframework_pdf2textlibrary-0.3-py3.8.egg to c:\python3\lib\site-packages File "c:\python3\lib\site-packages\robotframework_pdf2textlibrary-0.3-py3.8.egg\Pdf2TextLibrary\__init__.py", line 11 print 'pdt to text library' ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print('pdt to text library')? --- build/lib/Pdf2TextLibrary/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/lib/Pdf2TextLibrary/__init__.py b/build/lib/Pdf2TextLibrary/__init__.py index 02b69e0..60204ff 100644 --- a/build/lib/Pdf2TextLibrary/__init__.py +++ b/build/lib/Pdf2TextLibrary/__init__.py @@ -8,7 +8,7 @@ class Pdf2TextLibrary(object): ROBOT_LIBRARY_SCOPE = 'Global' def __init__(self): - print 'pdt to text library' + print('pdf to text library') def convert_pdf_to_txt(self,path): rsrcmgr = PDFResourceManager() @@ -47,4 +47,4 @@ def count_pdf_pages(self,path): pagenumber=pagenumber+1 fp.close() device.close() - return pagenumber \ No newline at end of file + return pagenumber