[IPython-dev] A request for help reviewing/testing a branch

Fernando Perez fperez.net at gmail.com
Sat Jan 9 22:57:27 EST 2010


On Sat, Jan 9, 2010 at 7:53 PM, John Hunter <jdh2358 at gmail.com> wrote:
> OK, that worked.  The following worked for me using svn mpl and your
> ipy branch (line 6 generated a plot)-- nice work!

Great, thanks!  This is on ubuntu, right?

> msierig at pinchiepie:~$ PYTHONPATH=~/dev/lib/python2.6/site-packages/
> ~/dev/bin/ipython
> Python 2.6.4 (r264:75706, Dec  7 2009, 18:45:15)
> Type "copyright", "credits" or "license" for more information.
>
> IPython 0.11.bzr.r1219 -- An enhanced Interactive Python.
> ?         -> Introduction and overview of IPython's features.
> %quickref -> Quick reference.
> help      -> Python's own help system.
> object?   -> Details about 'object'. ?object also works, ?? prints more.
>
> In [1]: 1+1
> Out[1]: 2
>
> In [2]: plot([1,2,3])
> ---------------------------------------------------------------------------
> NameError                                 Traceback (most recent call last)
>
> /home/msierig/<ipython console> in <module>()
>
> NameError: name 'plot' is not defined
>
> In [4]: help pylab
> ------> help(pylab)
> ---------------------------------------------------------------------------
> NameError                                 Traceback (most recent call last)
>
> /home/msierig/<ipython console> in <module>()
>
> NameError: name 'pylab' is not defined

BTW, since it's a magic, typing

pylab?

will give you info (help doesn't know anything about magics).

Cheers,

f



More information about the IPython-dev mailing list