using python at the bash shell?

Simon Forman rogue_pedro at yahoo.com
Tue Aug 8 12:22:42 EDT 2006


John Salerno wrote:
> skip at pobox.com wrote:
> >     John> Aside from the normal commands you can use, I was wondering if
> >     John> it's possible to use Python from the terminal instead of the
> >     John> normal bash commands (e.g. print instead of echo).
> >
> > Take a look at ipython <http://ipython.scipy.org/>.  It's not precisely what
> > you've asked for, but it provides some features that help integrate Python
> > with the shell environment.
> >
> > Skip
>
> Can you use IPython to do normal bash things, like installing, etc.?

"normal bash things"? :-)  Yes, most commands can be run by putting an
'!' before them.  If you ever need to run something that for some
reason doesn't work with this, you can always run !bash and do it in
bash.  :-)

Peace,
~Simon




More information about the Python-list mailing list