title: any way to destructure a dict in python like es6 in js?
body: <p>If I have a dict like this:</p>
  
  <pre><code> dict1 =  {'version': 0, 'name': 'JSESSIONID', 'value': 'AFCF8A9D8AB9E7B701A4D60EE7D8C475.prdaccountc-108', 'port': None, 'port_specified': False, 'domain': 'signin.ea.com', 'domain_specified': False, 'domain_initial_dot': False, 'path': '/p', 'path_specified': True, 'secure': True, 'expires': None, 'discard': True, 'comment': None, 'comment_url': None, 'rfc2109': False, '_rest': {'HttpOnly': None, 'SameSite': 'None'}}
  </code></pre>
  
  <p>I want to destructure that dict and get it's values like this:</p>
  
  <pre><code>version, name, value = dict1
  </code></pre>
  
  <p>instead of doing this: </p>
  
  <pre><code>version = dict1["version"]
  name = dict1["name"]
  value = value["value"]
  </code></pre>
  
  <p>when I tried to do this I got ValueError: too many values to unpack</p>