︠28dc47a4-4656-4d18-b455-ef5992706156︠
def clock(delay=1):
import time; print time.asctime()
sleep(delay)
id = sagenb.notebook.interact.SAGE_CELL_ID
html(""%id)
︡6e8294e6-9b91-46af-99ba-c831869fd95a︡︡
︠763e0f9e-76b3-4487-b7d1-1b117caaf1b7︠
clock()
︡f7aaf3b1-df1d-4118-b976-51c04473d438︡{"stdout": "Fri Jun 17 10:25:25 2011"}︡{"html": ""}︡
︠ca4897fe-a6af-4caf-a6f4-8881b7032fe2︠
def stock(symbol, delay=1):
print finance.Stock(symbol)
sleep(delay)
id = sagenb.notebook.interact.SAGE_CELL_ID
html(""%id)
︡91029939-b524-4692-a97b-047a12982cec︡︡
︠9ff0825c-69f5-478c-b8fc-bac722be3f27︠
stock('GOOG')
︡01da11bb-108e-42a4-873a-77e07425aad0︡{"stdout": "GOOG (492.4)"}︡{"html": ""}︡