Roll your own iPython Notebook server with Amazon Web Services (EC2) using their Free Tier.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Example from http://jakevdp.github.io/blog/2013/06/01/ipython-notebook-javascript-python-communication/ adapted for IPython 2.0 | |
# Add an input form similar to what we saw above | |
from IPython.display import HTML | |
from math import pi, sin | |
input_form = """ | |
<div style="background-color:gainsboro; border:solid black; width:600px; padding:20px;"> | |
Code: <input type="text" id="code_input" size="50" height="2" value="sin(pi / 2)"><br> | |
Result: <input type="text" id="result_output" size="50" value="1.0"><br> |