title: Assign split values to multiple variables
body: <p>I am currently writing a Python script to handle some logs and reformat certain parts. Part of the script makes use of the following code (as an example):</p>
  <pre><code>var1,var2,var3=foo.split(&quot;|&quot;)
  </code></pre>
  <p>Which works fine. However this perhaps doesn't look so nice (taking away Python's readability factor) if there are 39 values, for example:</p>
  <pre><code>var1,var2,var3,...,var39=foo.split(&quot;|&quot;)
  </code></pre>
  <p>Is there are a better way to format this structure?</p>