I have some HTML I am trying to parse. There are cases where the html attributes alone are not going to help me identify the row type (header versus data). Fortunately, if my
Have you looked at the try statement?
try: x = int(rowColumn[1][3].replace(',','').strip('$')) except ValueError, e: x = None # rowColumn[1][3] was not an integer