title: python split string on whitespace
body: <p>I am trying to convert a copy/pasted text to a csv, which I can split after.
  The problem is that there are whitespace tabs in it that I can't seem to get rid of</p>
  <p>Example Copy/Paste:</p>
  <pre><code>Amarr Hybrid Tech Decryptor 12  Decryptors - Hybrid         12 m3
  Ancient Coordinates Database    23  Sleeper Components          2.30 m3
  Caldari Hybrid Tech Decryptor   17  Decryptors - Hybrid         17 m3
  Carbon  17  General         34 m3
  Cartesian Temporal Coordinator  4   Ancient Salvage         0.04 m3
  Central System Controller   2   Ancient Salvage         0.02 m3
  </code></pre>
  <p>Now I'm trying to get something like this:</p>
  <pre><code>Amarr Hybrid Tech Decryptor,12,Decryptors - Hybrid,12,m3,
  Ancient Coordinates Database,23,Sleeper Components,2.30,m3,
  Caldari Hybrid Tech Decryptor,17,Decryptors - Hybrid,17,m3,
  Carbon,17,General,34,m3,
  Cartesian Temporal Coordinator,4,Ancient Salvage,0.04,m3,
  Central System Controller,2,Ancient Salvage,0.02,m3,
  </code></pre>
  <p>(will always be those 5 separations per line</p>
  <p>I have been trying to do this on various ways
  <a href="https://stackoverflow.com/questions/4071396/split-by-comma-and-strip-whitespace-in-python">Split by comma and strip whitespace in Python</a>
  but I can't seem to get it to work.</p>
  <pre><code>@login_required
  def index(request):
      if request.method == &quot;POST&quot;:
          form = SellListForm(request.POST)
          if form.is_valid():
              selllist = form.save(commit=False)
              selllist.user = request.user
              string = selllist.sell
              string = [x.strip() for x in string.split(',')] 
              print string
              return HttpResponseRedirect(reverse('processed'))
      else:
          form = SellListForm()
      return render(request, 'index.html', {'form': form})
  </code></pre>
  <p>returns</p>
  <pre><code>[u'&amp;lt;&amp;lt;&amp;lt;SULTS STUFF&amp;gt;&amp;gt;&amp;gt;\t\t\tVoucher\t\t\t0 m3\r\nAmarr Hybrid Tech Decryptor\t12\tDecryptors - Hybrid\t\t\t12 m3\r\nAncient Coordinates Database\t23\tSleeper Components\t\t\t2.30 m3\r\nCaldari Hybrid Tech Decryptor\t17\tDecryptors - Hybrid\t\t\t17 m3\r\nCarbon\t17\tGeneral\t\t\t34 m3\r\nCartesian Temporal Coordinator\t4\tAncient Salvage\t\t\t0.04 m3\r\nCentral System Controller\t2\tAncient Salvage\t\t\t0.02 m3']
  </code></pre>