convert string number to real number - ValueError: invalid literal for int() with base 10: '"2"'
George Sakkis
george.sakkis at gmail.com
Fri Feb 29 22:28:45 EST 2008
On Feb 28, 5:56 pm, davidj411 <davidj... at gmail.com> wrote:
> i am parsing a cell phone bill to get a list of all numbers and the
> total talktime spend on each number.
>
> (snipped)
>
> I actually found a good solution.
> (snipped)
If you post 1-2 samples of the cell phone bill input, I am sure you'll
get much better solutions in terms of clarity, simplicity and
elegance, commonly known as "pythonicity" :)
George
More information about the Python-list
mailing list