title: How to Extract Values from Dictionaries and Create Lists From Them
body: <p>I have a list of dictionaries:</p>
  
  <pre><code>dictionaries = [
      {'id': 1, 'name': 'test1', 'description': 'foo'}, 
      {'id': 2, 'name': 'test2', 'description': 'bar'}
  ]
  </code></pre>
  
  <p>I would like to separate the values from the keys in each dictionary, making a list of lists like this:</p>
  
  <pre><code>[(1 ,'test1', 'foo'), (2, 'test2', 'bar')]
  </code></pre>
  
  <p>I have the following code to perform this...</p>
  
  <pre><code>values_list = []
  
  for dict in dictionaries:
      values_list.append(list(dict.values()))
  </code></pre>
  
  <p>When I run this code in my app, I get:</p>
  
  <blockquote>
    <p>TypeError: list() takes 0 positional arguments but 1 was given</p>
  </blockquote>
  
  <p>What's the right way to do this type of list comprehension?</p>