Answer to Question #42485 in Python for sura
2014-05-14T21:36:47-04:00
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'
0
Answer in progress...
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 !
Learn more about our help with Assignments:
Python
Comments
Leave a comment