We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99cf7d7 commit 7769c1fCopy full SHA for 7769c1f
1 file changed
pdfExtract.py
@@ -0,0 +1,9 @@
1
+import PyPDF2
2
+a = PyPDF2.PdfFileReader('TIKTOK.pdf')
3
+
4
+str = ""
5
+for i in range(1,11):
6
+ str += a.getPage(i).extractText()
7
8
+with open("text.txt", "w", encoding = 'utf-8') as f:
9
+ f.write(str)
0 commit comments