title: Tkinter Treeview Append to List with get_children()
body: <p>I want to 'save' the contents of the treeview into a list which I can display again. Just like 'settings'.</p>
  
  <p><a href="https://i.stack.imgur.com/7UWUy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7UWUy.png" alt="settings example"></a></p>
  
  <pre><code>for child in self.terminal_tree.get_children():
      print(self.terminal_tree.item(child)["values"])
  
      machine_ports = []
      machine_ports.append(self.terminal_tree.item(child)["values"])
      print(machine_ports)
  </code></pre>
  
  <p>The output I get is:</p>
  
  <pre><code>['abc', 123]
  [['abc', 123]]
  ['hjk', 456]
  [['hjk', 456]]
  </code></pre>
  
  <p>The output that I want is  <code>[['abc', 123], ['hjk', 456]]</code></p>