Read the article on Wired here …. (Paywall)

It’s not yet ready for prime time .. but still ….

So, using Visual Studio Code, I wrote a plain ol’ comment describing the first step I needed done:

write a function that opens a pdf document and returns the text 
 For about four seconds, nothing happened. Then Copilot wrote this: 
 def pdf_to_text(filename): 
pdf = PyPDF2.PdfFileReader(open(filename, “rb”)) 
text = “” 
for i in range(pdf.getNumPages()): 
text += pdf.getPage(i).extractText() 
return text