I would like to know how to convert a string containing digits to a double.
The decimal operator might be more in line with what you are looking for:
>>> from decimal import Decimal >>> x = "234243.434" >>> print Decimal(x) 234243.434