Popular recipes tagged "manipulation" but not "algorithm"http://code.activestate.com/recipes/tags/manipulation-algorithm/2009-02-23T04:07:37-08:00ActiveState Code RecipesInterleaving file lines using iterators (Python)
2009-02-23T04:07:37-08:00David Mosshttp://code.activestate.com/recipes/users/4124829/http://code.activestate.com/recipes/576665-interleaving-file-lines-using-iterators/
<p style="color: grey">
Python
recipe 576665
by <a href="/recipes/users/4124829/">David Moss</a>
(<a href="/recipes/tags/file/">file</a>, <a href="/recipes/tags/generators/">generators</a>, <a href="/recipes/tags/iterators/">iterators</a>, <a href="/recipes/tags/manipulation/">manipulation</a>).
</p>
<p>Accepts one of more files and/or globs and interleaves the lines from each writing the result to stdout.</p>