title: Convert the list in text file to dictionary on Python
body: <p>Convert following list into python dictionary:</p>
  <pre><code>[[&quot;A&quot;, [&quot;aaa&quot;, &quot;bbb&quot;, &quot;ccc&quot;, &quot;ddd&quot;], [&quot;B&quot;, [&quot;eee&quot;, &quot;fff&quot;, &quot;ggg&quot;, &quot;hhh&quot;]]]
  </code></pre>
  <p>Expected:</p>
  <pre><code>{'A': ['aaa', 'bbb', 'ccc', 'ddd'], 'B': ['eee', 'fff', 'ggg', 'hhh']}
  </code></pre>
  <p>if possible to pandas or koalas dataframe?</p>