title: How do you split all of a certain character in Python
body: <pre><code>string="i-want-all-dashes-split"
  
  print(split(string,"-"))
  </code></pre>
  
  <p>So I want the output to be:</p>
  
  <pre><code>string=(I,-,want,-,all,-,dashes,-,split)
  </code></pre>
  
  <p>I basically want to partition all the "-"'s.</p>