list.index() function for Python that doesn't throw exception when nothing found
<p>Python's <code>list.index(x)</code> throws an exception if the item doesn't exist. Is there a better way to do this that doesn't require handling exceptions?</p>
