pdf parsing and selection from project file system

This commit is contained in:
2022-04-26 14:04:56 -05:00
parent e7058e2d2d
commit b7b52901e6
2 changed files with 29 additions and 31 deletions

View File

@@ -9,6 +9,6 @@ def read_PDF(path):
with open(f'recipe_text/{text[:20]}.txt', 'w') as f:
f.write(text)
read_PDF('recipes/TheBestOfBaseballAwards.pdf')
read_PDF(sys.argv[1])
sys.stdout.flush()