def Convert2StrBoolCoordNum(text):

    if REO_Quoted.match(text): #text is double quoted string
        return text.strip('"')  #strip off quotes

    if REO_QuotedSingle.match(text): #text is single quoted string
        return text.strip("'")  #strip off quotes

    try:
        return (Convert2BoolCoordNum(text))
    except ValueError:
        raise ValueError("Expected StrBoolNum got '{0}'".format(text))

    return None
converts text to python type in order
dataset/ETHPy150Open ioflo/ioflo/ioflo/base/building.py/Convert2StrBoolCoordNum