Hi everyone, there is a project given to us to develop an application
I need to extract data from resume only specific fields like name, mail,
dob, phone number   by importing a package pyPdf2 I can only extract a data
to text the whole part but there is no need of whole data only specific
data need to extract
if any were are familiar with pdPdf2 extracting the data please help me
.....!!


thanks
Swathi

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAGnx2uOSNfTJc7YEJbahW-6KvU%3DzNLNpza890AxZZXSOSRVOSg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
import PyPDF2

pdfFileObj = open('C:/Users/SWATHI/Desktop/word-to-pdf.pdf', 'rb')

pdfReader = PyPDF2.PdfFileReader(pdfFileObj)

print(pdfReader.numPages)

p = pdfReader.getPage(0)


#pageObj1= pdfReader.getPage(1)

print(p.extractText())

#print(pageObj1.extractText())

pdfFileObj.close()

Reply via email to