I have a string in the format: \'nn.nnnnn\' in Python, and I\'d like to convert it to an integer.
Direct conversion fails:
>>> s = \'23.4567
You could use:
s = '23.245678' i = int(float(s))