title: Process .txt file into dictionary (Python v2.7)
body: <p>I am currently looking to process and parse out information from <a href="http://standards.ieee.org/develop/regauth/oui/oui.txt" rel="nofollow">this .txt file</a>. The file appears to be tab delimited. I am looking to parse out the base 16 value (ie. 000000) as the dictionary key and the company name (ie. Xerox Corporation) as the dictionary value. So, if for example I look up in my dictionary the key 000001, Xerox Corporation would be returned as the respective value.</p>
  
  <p>I've tried parsing the .txt file as a csv reading the entry on every nth line but unfortunately there is no pattern and the nth number varies. </p>
  
  <p>Is there any way to capture the value preceeding the term "base 16" for example and then the term that follows it to make a dictionary entry?</p>
  
  <p>Many thanks</p>