Re: Pipelining tar create and tar extract the "Python" way...

2009-09-25 Thread Ray Van Dolson
On Wed, Sep 23, 2009 at 04:22:36PM -0700, Ray Van Dolson wrote: > On Wed, Sep 23, 2009 at 03:52:11PM -0700, Ray Van Dolson wrote: > > Hi all; > > > > In the land'o'shell, I can do something like the following: > > > > tar cvf - SrcDir | (cd /dest ; t

Re: Pipelining tar create and tar extract the "Python" way...

2009-09-23 Thread Ray Van Dolson
On Wed, Sep 23, 2009 at 03:52:11PM -0700, Ray Van Dolson wrote: > Hi all; > > In the land'o'shell, I can do something like the following: > > tar cvf - SrcDir | (cd /dest ; tar xvf -) > Bad form replying to my own post... while I'd still like to know i

Pipelining tar create and tar extract the "Python" way...

2009-09-23 Thread Ray Van Dolson
Hi all; In the land'o'shell, I can do something like the following: tar cvf - SrcDir | (cd /dest ; tar xvf -) I'd like to learn the "Python" way to reproduce the above. Obviously I could use the subprocess module and just call that exact command above, but is there a way to do this with the t

Python alternatives to Text::SimpleTable?

2009-02-28 Thread Ray Van Dolson
So I'm looking for an easy (read: lazy) way to generate output in nice ASCII tables like the Text::SimpleTable[1] module in perl. I've come across two so far in the Python world that look promising[2][3] but I'm wondering if anyone else out there has some recommendations for me. Thanks, Ray [1]