In [1]:
4 * 5


Out[1]:
20

In [5]:
%pylab


Using matplotlib backend: TkAgg
Populating the interactive namespace from numpy and matplotlib

In [7]:
from matplotlib import pylab

In [9]:
def fib():
    a = b = 1 
    while True:
        yield a
        a,b = b, a+b

In [10]:
for x in fib():
    print x
    if x > 100: break


1
1
2
3
5
8
13
21
34
55
89
144

In [12]:
import IPython

In [13]:
from IPython import parallel

In [14]:
pylab.plot(range(10))


Out[14]:
[<matplotlib.lines.Line2D at 0xa579828>]

In [15]:
import antigravity