title: python: read and split files in to list of dictionaries
body: <p>I'm having troubles with converting file content into list of dictionaries, could you advise?</p>
  
  <pre><code>File content:
  host1.example.com#192.168.0.1#web server 
  host2.example.com#192.168.0.5#dns server
  host3.example.com#192.168.0.7#web server 
  host4.example.com#192.168.0.9#application server 
  host5.example.com#192.168.0.10#database server
  </code></pre>
  
  <p>There are multiple files in side the folder with the same format. At the end I would like to receive list of dictionaries with the following format: </p>
  
  <pre><code>[ {'dns': 'host1.example.com', 'ip': '192.168.0.1', 'description': 'web_server'},
  {'dns': 'host2.example.com', 'ip': '192.168.0.5', 'description': 'dns server'}, 
  {'dns': 'host3.example.com', 'ip': '192.168.0.7', 'description': 'web server'}, 
  {'dns': 'host4.example.com', 'ip': '192.168.0.9', 'description': 'application server'},
  {'dns': 'host5.example.com', 'ip': '192.168.0.10', 'description': 'database server'} ]
  </code></pre>
  
  <p>Thank you in advance!</p>