#!/usr/bin/env python
# coding: utf-8
# # Extract Text from PDF with Python
# In[2]:
import PyPDF2
pdf = open("pythonclcoding.pdf", "rb")
reader = PyPDF2.PdfFileReader(pdf)
page = reader.getPage(0)
print(page.extractText())
#clcoding.com
# In[ ]:
Python Coding May 03, 2022 Python No comments
Can you guess the output of the second piece of code?🐍
Posted by Python Coding on Tuesday, 16 February 2021
0 Comments:
Post a Comment