I have multiple PDF files of same structure in a folder and I want to extract text from those PDFs. I have following PDF code. How do I achieve this functionality using Alteryx Designer.
from PyPDF2 import PdfReader
reader = PdfReader("inputfile.pdf")
page_list = []
page = reader.pages[0]
page_text = page.extract_text()
with open(file="outputfile.txt", mode= 'w') as f:
f.write(page_text)