def convStringToNum(theString):
    
    if not stringIsNumber(theString):
        raise Error(theString + ' cannot be converted to a Python number')
    return eval(theString, {}, {})
Convert a string representation of a Python number to the Python version
dataset/ETHPy150Open binhex/moviegrabber/lib/site-packages/Cheetah/SettingsManager.py/convStringToNum