A Lazy Codr

Introduction

IPython is a command shell for interactive computing in multiple programming languages, originally developed for the Python programming language, that offers introspection, rich media, shell syntax, tab completion, and history.

IPython provides a great interactive shell for user to play with code. When you have to test some sample python code or want to test a script, IPython is the “Thing” for you. I will be doing web scraping in this post using IPython.

NOTE- This is tested on Ubuntu 14.04.

Installation

There are several ways to install IPython. I am going to install it via pip. To install pip run-$ sudo apt-get install python-pip

It will install ipython on your machine. We can also install ipython using apt-get but we will need pip to install packages needed to do web scraping. This is the reason i have used pip to install ipython

Python packages Required

For this blog, we need two python packages-

Python’s request module to send and receive GET requests. To install it, run-