title: Read txt file with multi-threaded in python
body: <p>I'm trying to read a file in python (scan it lines and look for terms) and write the results- let say, counters for each term. I need to do that for a big amount of files (more than 3000). Is it possible to do that multi threaded? If yes, how?</p>
  
  <p>So, the scenario is like this:</p>
  
  <ul>
  <li>Read each file and scan its lines</li>
  <li>Write counters to same output file for all the files I've read.</li>
  </ul>
  
  <p>Second question is, does it improve the speed of read/write.</p>
  
  <p>Hope it is clear enough. Thanks,</p>
  
  <p>Ron.</p>