What's wrong with float("1,000")?
<p>Very rusty with my Python. I have a list of Cost as strings. I'm trying to convert them to floats but when the cost is above $1000, the value is represented with a comma. float("1,000") returns an error:</p>

<pre><code>Traceback (most recent call last):
 File "&lt;pyshell#5&gt;", line 1, in &lt;module&gt;
   decimal("1,000")
TypeError: 'module' object is not callable
</code></pre>

<p>I know it's probably trivial but do you have a solution?</p>
