title: Split a string in Python and extract few fields from list
body: <p>I recently started working with Python and I am trying to split a string in Python and then extract only fields from that list.</p>
  
  <p>Below is my node string and it will always be of four words separated by <code>/</code>.</p>
  
  <pre><code>node = "/tt/pf/test/v1"
  </code></pre>
  
  <p>I am trying to split above string on <code>/</code> and then store <code>test</code> and <code>v1</code> value from it in some variable -</p>
  
  <p>Below is what I have tried -</p>
  
  <pre><code>node = "/tt/pf/test/v1"
  a,b,c,d = node.split("/")
  print c
  print d
  </code></pre>
  
  <p>Below is the error I got -</p>
  
  <pre><code>ValueError: too many values to unpack
  </code></pre>