title: How do I split strings within nested lists in Python?
body: <p>I know how to split a list of strings into a nested list using those strings, but I'm not specifically sure how I would go about splitting those strings now into multiple strings.</p>
  
  <p>For example:</p>
  
  <pre><code>def inputSplit(file_name):
      with open(file_name) as f:
          content = f.read().splitlines()
      i = 0
      contentLists = [content[i:i+1] for i in range(0, len(content), 1)]
  </code></pre>
  
  <p>Would give me something like:</p>
  
  <pre><code>[['these are some words'], ['these are some more words'], ['these are even more words'], ['these are the last words']]
  </code></pre>
  
  <p>I'm not sure how to use the string split to make my output look like this:</p>
  
  <pre><code>[['these', 'are', 'some', 'words'], ['these', 'are', 'some', 'more', 'words'], ['these', 'are', 'even', 'more', 'words'], ['these', 'are', 'the', 'last', 'words']]
  </code></pre>
  
  <p>Is there a way I can go about this?</p>