How quickly find ip address in range of IP addresses?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/8326655/python-and-ip-range">python and ip range?</a><br>
  <a href="http://stackoverflow.com/questions/8338655/how-to-get-list-of-ip-addresses">How to get list of IP addresses?</a>  </p>
</blockquote>



<p>I have a many ip ranges in text file:</p>

<pre><code>1.0.0.0 - 1.0.0.255
....
223.255.254.0 - 223.255.254.255
</code></pre>

<p>How to quickly find range for ip address ?</p>
