title: Splitting a list from a text file in more than one way
body: <p>I am trying to write a program that takes a text file and interprets each line in chunks by splitting it using the .split method.</p>
  
  <p>I am trying to split up a line that looks like this: 4-Jan-72 followed by a tab and then a float. I want to try and split it so the '-' and tab are gone. I was told to use '\t'to split the tab but I'm not sure how to use both with one line. </p>
  
  <pre><code>line = rain_file.readline().strip().split("-",'\t')
  </code></pre>
  
  <p>I currently get this as my error.</p>
  
  <pre><code>line = rain_file.readline().strip().split("-",'\t')
  TypeError: 'str' object cannot be interpreted as an integer
  </code></pre>