From c9c731dc0776420b5a2962cd4827f9385870507d Mon Sep 17 00:00:00 2001 From: Nicola Montanari Date: Wed, 20 Jul 2022 21:34:12 +0200 Subject: [PATCH] Completed Project --- Parser.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Parser.py b/Parser.py index cf2e53f..c8604ae 100644 --- a/Parser.py +++ b/Parser.py @@ -21,6 +21,7 @@ def progress_bar(current, total, bar_length=20): # This sleep is ONLY FOR GRAPHICS PURPOSE, can be disabled or turnedo to 0 if full performance is needed time.sleep(0.01) +# Check Numper of PDF files in the directory def getNumPDF(onlyfiles): nPDF = 0 for file in onlyfiles: @@ -28,7 +29,6 @@ def getNumPDF(onlyfiles): nPDF += 1 return nPDF - # Reset the global variables def restoreAll(): global flag @@ -160,7 +160,6 @@ def main(filename): # After the loop is done, close the .txt file f.close() - #Main Program if __name__ == "__main__": fileskipped = 0