On Thu, 28 Feb 2008 14:56:10 -0800 (PST)
davidj411 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>         |  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.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to