IPython (interactive) and Jupyter(notebok for noting and sharing)
Good thing about Jupyter: integrate code and document(markdown/html/latex).
Ex. $softmax(x_i) = \frac{\exp^{x_i}}{\sum_{k=1}^K \exp^{x_k}}$
Using Jupyter under virtualenv: http://help.pythonanywhere.com/pages/IPythonNotebookVirtualenvs
Activate your virtual environment (on Mac)
source <virtual_env_path>/bin/activate
Note that you should see (your_virtualenv_name) before the prompt when the virtual environment is successfully activated. Here we use (virtualenv) as an example.
Install ipython kernel to the virtualenv
(virtualenv) pip install ipkernel # pip3 install ipkernel for python3
(virtualenv) python -m ipkernel install --user --name=<your_kernel_name>
(virtualenv) jupyter notebook
import tensorflow as tf
hello = tf.constant('Hello, Tensorflow')
sess = tf.Session()
print(sess.run(hello))