title: How to read in strings into an array that is being used for a zip function in python?
body: <p>I am parsing an inventory log look like below and I want to read in the "data" into a list and pair them up with "info" for example:</p>
  
  <pre><code>+Hardware information  
  
  
  Processor               : Intel(R) Xeon(R) CPU E5-2420 v2 @ 2.20GHz (24 cores/threads)
  
  Memory                  : 81877MB
  
  Controller Slot         : 0
  
  BIOS                    : 3.0a 11/12/2013 3.1
  
  IPMI FW rev             : 2.20
  
  Canister firmware       :  2.2.26^M
  
  Canister firmware date  :  Feb  5 2013 20:54:00^M
  </code></pre>
  
  <p>I need to pair up the info's with the data's for example 'BIOS' being the info and pair it with the data '3.0a 11/12/2013 3.1. </p>
  
  <p>So using a zip function in I want to have the Info and the data side by side each other.I need to find a way to parse the inventory log and put the data into the data array(list) and pair them up to the correct info category (BIOS,Memory, etc,). Any ideas?</p>
  
  <blockquote>
  <pre><code> Info = ['IPMI FW rev','BIOS','Canister Firmware','Memory','Controller Slot']
   Data = ['','','','','']
          for I,D in zip(Info,Data):
               print('{0}:{1}'.format(I,D))
  </code></pre>
  </blockquote>