ValueError: invalid literal for int(): Screw plugg (91_10 -> untitled) in python
<p>i have</p>

<pre><code>form = self.request.form 
partintid = int(form['item_01bom']) # value is 'Screw plugg (91_10 -&gt; untitled)' 
print partintid
</code></pre>

<p>i want to convert <code>'Screw plugg  (91_10 -&gt; untitled)'</code> to int.</p>

<p>but i get <code>ValueError: invalid literal for int(): Screw plugg  (91_10 -&gt; untitled)</code>.</p>
