title: Making Python scripts work with xargs
body: <p>What would be the process of making my Python scripts work well with 'xargs'?  For instance, I would like the following command to work through each line of text file, and execute an arbitrary command:</p>
  
  <pre><code>cat servers.txt | ./hardware.py -m 
  </code></pre>
  
  <p>Essentially would like each line to be passed to the hardware.py script.</p>