How to create a dictionary of integer pairs from a file in python
<p>If I have a file of pairs of integer IDs, followed by a value, I'd like to create this into a dictionary.  Each separate term is separated by a newline.  I want to make sure these are all held as ints.  How can I do this?</p>

<p>edit: as requested, a sample.</p>

<pre><code>9 120
10 12
11 4
12 1
13 515
14 32
</code></pre>
