python Invalid literal for float
<p>I am running a code to select chunks from a big file. I am getting some strange error that is</p>

<pre><code>"Invalid literal for float(): E-135"
</code></pre>

<p>Does anybody know how to fix this? Thanks in advance.</p>

<p>Actually this is the statement that is giving me error</p>

<pre><code>float (line_temp[line(line_temp)-1])
</code></pre>

<p>This statement produces error
line_temp is a string
'line' is any line in an open and file also a string. </p>
