title: Read set amount of words from multiple text files and save as new files
body: <p>I have several hundred text files of books (file001.txt, file002.txt etc), I want to read the first 3,000 words from each file and save it as a new one (eg file001_first3k.txt, file002_first3k.txt). </p>
  
  <p>I've seen terminal solutions for Mac and Linux (I have both) but they seem to be for displaying to the terminal window and for set amount of characters, not words.</p>
  
  <p>Posting this in Python as it seems that it is more likely to have a solution here than for terminal and I have some experience of Python.</p>