from IPython.display import HTML
HTML("""
Hi, I’m Matt Davis
aka @jiffyclub
""")
from IPython.display import Image
Image(filename='software-carpentry-banner.png',
embed=True)
Image(filename='pic-seattle03.jpg', embed=True)
HTML("""
INTRINSIC
EXTRANEOUS
GERMANE
""")
print 'Hello, PyCon!'
Image(filename='mac_linux_windows.png',
embed=True)
for x in range(0, 20, 2):
if x % 3 == 0:
print x,
from ipythonblocks import BlockGrid, colors
BlockGrid(
grid = BlockGrid(5, 5, block_size=50)
grid.
for block in grid.animate:
if block.col == 1 or block.col == 3:
block.rgb = colors['DarkCyan']
elif block.row in (0, 2, 4):
block.rgb = colors['FireBrick']
%load_ext ipython_nose
def test_fail():
assert 1 == 2
def test_error():
assert 1 / 0
def test_pass():
assert 1 == 1
%nose
HTML("""Requires:
""")
HTML("""
import pdb
""")
gone = 'Bye-bye!'
print gone
HTML("""
simplify
""")
HTML("""
♥ IPython Notebook ♥
""")
HTML("""
Annotated notebook:
j.mp/jiffyclub-pycon-talk-2013
I love to chat!
@jiffyclub
jiffyclub@gmail.com
Visit the IPython booth!
""")