convert string number to real number
convert string number to real number - ValueError: invalid literal for int() with base 10: '"2"'
D'Arcy J.M. Cain darcy at druid.netThu Feb 28 18:19:14 EST 2008
- Previous message (by thread): convert string number to real number - ValueError: invalid literal for int() with base 10: '"2"'
- Next message (by thread): convert string number to real number - ValueError: invalid literal for int() with base 10: '"2"'
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, 28 Feb 2008 14:56:10 -0800 (PST) davidj411 <davidj411 at gmail.com> wrote: > ValueError: invalid literal for int() with base 10: '"2"' > > > here is the question: > > How can i convert a string number like "2" to a true number that can > be added. You have to get rid of the double quotes first. -- D'Arcy J.M. Cain <darcy at druid.net> | Democracy is three wolves http://www.druid.net/darcy/ | and a sheep voting on +1 416 425 1212 (DoD#0082) (eNTP) | what's for dinner.
- Previous message (by thread): convert string number to real number - ValueError: invalid literal for int() with base 10: '"2"'
- Next message (by thread): convert string number to real number - ValueError: invalid literal for int() with base 10: '"2"'
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list