title: Python unpack string in to array
body: <p>I am working with Ruby every day, but i have an issue in Python. I was found this languages very similar... But I have some problems with migration from Ruby :)</p>
  
  <p>Please, help me to convert this action in python:</p>
  
  <pre><code>   string = "qwerty2012"
     (var, some_var, another_var)  = string.unpack("a1a4a*")
  </code></pre>
  
  <p>this should return three variables with unpacked values from string:</p>
  
  <pre><code>   var         = "q"      # a1
     some_var    = "wert"   # a4
     another_var = "y2012"  # a*
  </code></pre>
  
  <p>Help me to represent it in Python
  Thank you!  </p>