How to do it...

The following steps will get you up and running with the IPython environment:

  1. Open up a Terminal window on your computer and type ipython. You should be immediately presented with the following:
Note that your version might be slightly different than what is shown in the preceding command-line output.
  1. Just to show you how great IPython is, type in ls, and you would be greeted with the directory listing! Yes, you have access to common Unix commands straight from your Python prompt inside the Python interpreter.
  2. Now, let's try changing directories. Type cd at the prompt, hit space, and now hit Tab. You should be presented ...

Get Practical Data Science Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.