Interactive bourne shell in py?

Alex Martelli aleaxit at yahoo.com
Fri Aug 10 04:44:59 EDT 2001


"Dave Cinege" <dcinege at psychosis.com> wrote in message
news:mailman.997412776.22634.python-list at python.org...
> Anyone know of any interactive shell wrappers for python that could
> handle the basic needs of a login shell,
>
> IE
> explict command execution
> basic file descriptor redirection
> variable substitution
>
> Something bourne scripting compatible maybe?
> IE It could handle this as input
>
> var='hello';echo $var | sed s/h/H/ > hi.txt &

Ian Maurer's page, http://hammer.prohosting.com/~pyguy/,
points to his "Python Enhanced DOS Command Prompt", which
is more similar to command.com but you can surely hack into
similarity with sh instead.


Alex






More information about the Python-list mailing list