Chapter 1. Winding Along with IPython

In this chapter, we will cover the following topics:

  • Installing IPython
  • Using IPython as a shell
  • Reading manual pages
  • Installing Matplotlib
  • Running a web notebook
  • Exporting a web notebook
  • Importing a web notebook
  • Configuring a notebook server
  • Exploring the SymPy profile

Introduction

IPython, which is available at http://ipython.org/, is a free, open source project available for Linux, Unix, Mac OS X, and Windows. The IPython authors only request that you cite IPython in any scientific work where IPython was used. It provides the following components, among others:

  • Interactive Python shells (terminal-based and Qt application)
  • A web notebook (available in IPython 0.12 and later) with support for rich media and plotting
  • IPython is compatible with Python versions 2.5, 2.6, 2.7, 3.1, and 3.2

You can try IPython in cloud without installing it on your system, by going to the following URL: http://www.pythonanywhere.com/try-ipython/. There is a slight delay compared to locally installed software; so this is not as good as the real thing. However, most of the features available in the IPython interactive shell seem to be available. They also have a Vi (m) editor, which if you like vi, is of course great. You can save and edit files from your IPython sessions. The author of this book doesn't care much about other editors, such as the one that starts with E and ends with macs. This should, however, not be a problem.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset