title: Python - convert string to an array
body: <p>How would I convert the following string to an array with python (this string could have an indefinite number of items)?</p>
  
  <pre class="lang-py prettyprint-override"><code>'["Foo","Bar","Baz","Woo"]'
  </code></pre>
  
  <p>This is definitely a string representation as well. <code>type()</code> gave:</p>
  
  <pre class="lang-py prettyprint-override"><code>&lt;class 'str'&gt;
  </code></pre>
  
  <h1>Update:</h1>
  
  <p>Got it. </p>
  
  <pre class="lang-py prettyprint-override"><code>interestedin = request.POST.get('interestedIn')[1:-1].split(',')
  
  interested = []
  
  for element in interestedin:
      interested.append(element[1:-1])
  </code></pre>
  
  <p>Where <code>request.POST.get('interestedIn')</code> gave the <code>'["Foo","Bar","Baz","Woo"]'</code> string list "thing".</p>