3 ms·
There is shell mode - maybe not obvious from the article. Run ipython with: ipython -p pysh and you'll get pysh "profile". It's a shell and python environment
by viraptor 16y ago
There is shell mode - maybe not obvious from the article. Run ipython with:
ipython -p pysh
and you'll get pysh "profile". It's a shell and python environment merged together. This way you don't have to use bangs.
> ls -> (output of ls)
> ls | grep x -> (output of grep)
> res = !ls
> res?
Type: SList
Base Class: <class 'IPython.genutils.SList'>
...