getting access to python simple program in the notebook start the ipython notebook locally by the command ipython notebook or go to sagemathcloud or wakari as described above the default input area is cell for python code type * * * ** in cell and run the cell by clicking on run selected (notebook running locally on your machineor on the "playbutton (notebook running in the cloudthis action will execute the python code and initialize the variables gv tand you can then write print in new cellexecute that celland see the output of this statement in the browser it is easy to go back to celledit the codeand re-execute it to download the notebook to your computerchoose the file download as menu and select the type of file to be downloadedthe original notebook format ipynb file extensionor plain python program version of the notebook py file extensiona mixing textmathematicscodeand graphics the real strength of ipython notebooks arises when you want to write report to document how problem can be explored and solved as teaseropen new notebookclick in the first celland choose markdown as format (notebook running locallyor switch from code to markdown in the pull-down menu (notebook in the cloudthe cell is now text field where you can write text with markdown syntax mathematics can be entered as latex code try some text with inline mathematics and an equation on separate lineplot the curve $ = ( )$where $ (xe^{- }\sin ( \pi ),\quad \in [ $execute the cell and you will see nicely typeset mathematics in the browser in the new celladd some code to plot /import numpy as np import matplotlib pyplot as plt %matplotlib inline make plots inline in the notebook np linspace( np exp(- )*np sin( *pi*xplt plot(xy' -'plt xlabel(' ')plt ylabel(' '