"shell-commands" and python!

Erik Max Francis max at alcyone.com
Fri Sep 21 11:55:50 EDT 2001


Greg Weeks wrote:

> But what about the following program invocation perks that we want to
> be as
> easy in Python as they are in Ksh?:
> 
>     <  >  >>  2>  2>>  2>&1             # REDIRECTION
>     &                                   # BACKGROUND
>     |                                   # PIPING
>     $() or ``                           # CAPTURING STDOUT

Python is not a shell script, so why should it behave exactly the same
way.

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
/  \ Human love is often but the encounter of two weaknesses.
\__/ Francois Mauriac
    Alcyone Systems' Daily Planet / http://www.alcyone.com/planet.html
 A new, virtual planet, every day.



More information about the Python-list mailing list