iPython Notebook Setup

iPython is an interactive shell. It is great. Combined with Notebooks, it makes a stunningly productive combination. It allows you to truly interact (and learn), share Notebooks so others can view or reproduce your work.

Check out the gallery here.

Buy this  book for a guided tour of iPython.

Launch your own Notebook server by typing the following from the terminal shell.

ipython notebook –pylab inline

It will launch a local web server and also start a browser pointing to  launch your browser pointing to http://127.0.0.1:8888/

Click on ‘New Notebook’ button to the right. In the input field type the following

In [  ]: print(“hello, world”)

Press control-enter.

Congratulations! You’ve made it past the first step.

Now spend some time with your teenager on the monumental significance of this phrase. Point them to this seminal book. More than twenty years later I still learn from it.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s