Doug Hellmann's terrific Python Module of the Week series does that to me on a regular basis. I only knew about pipes because he blogged about it last month.<br><br>Regarding portability, since it's just calling system commands I assume it's only as portable as those commands are.<br>
<br>-Matt<br><br><div class="gmail_quote">On Thu, May 7, 2009 at 10:04 AM, James Casbon <span dir="ltr"><<a href="mailto:casbon@gmail.com">casbon@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
2009/5/7 Matt Dimmic <<a href="mailto:reg@plaguerats.net">reg@plaguerats.net</a>>:<br>
<div class="im">> Are you familiar with the pipes module in the Python standard library? I<br>
> don't have experience with it myself, but it seems to smooth out the bumps<br>
> you mention:<br>
<br>
</div>I'm feeling a bit ashamed now... I thought I knew the standard library!<br>
<br>
I'm wondering how portable it is - it just calls os.system. Mine is<br>
probably not much better ;)<br>
</blockquote></div><br>