Python - split string into smaller chunks and assign a variable
<p>Is it possible to split a string in python and assign each piece split off to a variable to be used later? I would like to be able to split by length if possible, but im not sure how it would work using len().</p>

<p>i tried this but its not getting me what i needed:</p>

<pre><code>x = 'this is a string'
x.split(' ', 1)
print x
</code></pre>

<p>result:
    ['this']</p>

<p>i want to result to something like this:</p>

<pre><code>a = 'this'
b = 'is'
c = 'a'
d = 'string'
</code></pre>
