0

example file

enter image description here

how to read the key and values if data separated with space?

expecting values like Apartment[1212,331] , City=['',''] or [column name ] [values

James Z
  • 12,209
  • 10
  • 24
  • 44
  • 1
    I'm quite sure there's both articles and questions here regarding parsing PDF. Did you try any of them? If not, that's where you should start. If you did, then include more details into your question. – James Z Apr 28 '23 at 14:34
  • Please provide enough code so others can better understand or reproduce the problem. – Community Apr 28 '23 at 16:27
  • from PyPDF2 import PdfReader import re # creating a pdf reader object # from Test_Config.practice import pdf aa={} reader = PdfReader('C:\GDPR_Automation\TestInput_Files\Freport.pdf') print(len(reader.pages)) for page in reader.pages: # count= count+1 text = page.extract_text() # ocr_text = page.getContents().extractText() s= text.replace(' ','') print (s) – Rama Devi May 02 '23 at 07:27
  • can any one help – Rama Devi May 04 '23 at 16:21

0 Answers0