70 970
Assignments Done
Successfully Done
In March 2019

Answer to Question #42485 in Python for sura

Question #42485
patternRE = re.compile('(^|\s|\")([^\s]+?)\",{'+str(HeaderLineIndex)+'}')

Buffer = localDisk.ReadFileBuffered(ifile, DataBufferSizeMB=1,StartPosition=0,whence=1)
compRE = re.compile(patternRE)

searchObj = compRE.search(Buffer)

print searchObj.start()
I trying extract position for each value for field city from buffer using pattern but appears error 'NoneType' object has no attribute 'start'
Expert's answer

Not answered

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!


No comments. Be first!

Leave a comment

Ask Your question

Privacy policy Terms and Conditions