Piping external commands
- From: saibotorama@xxxxxxxxx
- Date: Tue, 18 Jul 2006 01:46:08 +0100
What is the Python translation for this Bash statement:
tar cf - "${files[@]}" | bzip2 > "$file".tar.bz2
(Ignoring the fact that "tar cjf" also exists...)
In other words, how does one pipe together arbitrary commands?
.
- Prev by Date: Re: Coding style
- Next by Date: Re: Coding style
- Previous by thread: embedding python in a plugin
- Next by thread: python script reading special keys like <F1>, <F2> etc.
- Index(es):