[IPython-user] $ and $$ direct capture not working
Fernando Perez
fperez.net at gmail.com
Tue Jan 23 20:13:53 CST 2007
On 1/23/07, Matt Wilkie <maphew at gmail.com> wrote:
> Hello,
>
> I just downloaded and installed the latest and greatest ipy, v0.7.3
> for win32, and when I try and use the $ or $$ capture commands as
> described in the manual
> (http://ipython.scipy.org/doc/manual/node12.html) I get the error
> message below. This was an upgrade from v0.7.2, which I didn't
> uninstall first. Maybe that wasn't such a great idea?
You forgot this part from that page:
which you can activate at the command line as `ipython -p pysh'
and indeed:
tlon[~]> ip -p pysh
Python 2.4.4c1 (#2, Oct 11 2006, 21:51:02)
Type "copyright", "credits" or "license" for more information.
IPython 0.7.4.svn.r2010 -- An enhanced Interactive Python.
? -> Introduction to IPython's features.
%magic -> Information about IPython's 'magic' % functions.
help -> Python's own help system.
object? -> Details about 'object'. ?object also works, ?? prints more.
IPython profile: pysh
[...]
tlon[local]|16> $a=ls
tlon[local]|17> a
<17> 'bin\ninclude\nlib\nman\nshare'
tlon[local]|18> $$b=ls
tlon[local]|19> b
<19> ['bin', 'include', 'lib', 'man', 'share']
Cheers,
f
More information about the IPython-user
mailing list