Reading and searching through text file
<p>I'm teaching myself python and wanted to learn how to search through text files. For example, i've got a long list of full names and addresses, and want to be able to type in a first name and then print the details corresponding to that name. What would be the best way to go about this? Thanks!</p>

<p>edit: The data i have is in a .txt file in columns like this:</p>

<pre><code>Doe, John        London
Doe, Jane        Paris
</code></pre>
