Answer to Question #42474 in Python for sura

Question #42474
searchObj = compRE.search(Buffer)
print searchObj.start()

solve this problem :
'NoneType' object has no attribute 'start'
1
Expert's answer
2014-05-22T09:17:35-0400
This error means that the function ‘start()’ is not described in theobject compRE.
Must be so:
class compRE (object):
def start(self):
# afunction body

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!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS