Get Numeric Value From String In Python