title: Python convert percentage number representations to float
body: <p>Is there an easy way to convert string representations such as "50%" to a float in python? I have data in yaml and am parsing it. I would like to support "0.5" and "50%" as valid representations. So, stripping "%" alone is not enough.</p>