Compressing output via pipes

Orr, Steve sorr at rightnow.com
Wed Nov 26 17:40:04 EST 2003


Thanks but what about os.mknode() in 2.3? The docs don't say it's UNIX
only.

So without named pipes support in windoze there isn't ANYWAY to do this?

Windoze sucks.

Any possible non-portable pythonic way to do this in *nix?


Thanks again.



-----Original Message-----
From: python-list-bounces+sorr=rightnow.com at python.org
[mailto:python-list-bounces+sorr=rightnow.com at python.org] On Behalf Of
Paul Moore
Sent: Wednesday, November 26, 2003 3:30 PM
To: python-list at python.org
Subject: Re: Compressing output via pipes


"Orr, Steve" <sorr at rightnow.com> writes:

> Oracle provides an export utility (exp) and I have a shell script 
> which compresses its output (not stdout) thru a pipe but l need a 
> platform portable Python script for this.

How platform portable? If you want to do this on Windows, you're
basically out of luck, as Windows doesn't support named pipes like this.

If you're talking just Unix variants, I'd guess that a minimal shell
script is as portable as you need.

Paul
-- 
This signature intentionally left blank
-- 
http://mail.python.org/mailman/listinfo/python-list






More information about the Python-list mailing list