I am currently looking to process and parse out information from this .txt file. 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.
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.
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?
Many thanks
Well entries are seperated with two newlines. The second line always is the base16 one. The data before the first tab is the base16 key and the last is the company name.
Some of the results: