230 | Big Data Simplied
9.1 PREREQUISITES
Before starting with data sets, rst you need to install Python and also grow a basic familiarity
about Python programming. In this book, we have adopted Linux environment (Ubuntu 18.04.1
LTS). Also, for Python programming, Python 3 IDLE has been used. However, majority of the
Python commands and codes shown in this chapter except the ones where it is explicitly men-
tioned to be run on terminal are equally applicable for Windows and other platforms. In addition,
Anaconda is a popular programming platform which is highly utilized by Python programmers,
even though when IDLE can also be used for Windows.
9.1.1 Install Python in Your System
By default, Ubuntu 16.04 and later versions have both Python 2.7 and 3.5 installed. In case you
want to install Python 3.6, then you may do that using the following command.
$ sudo apt-get install python3.6
Python 3 IDLE is a simple graphical interface for doing Python programming. It is available in the
package repository of Ubuntu 18.04 LTS. For prior versions of Ubuntu, it can be installed using
the following command.
$ sudo apt-get install idle-python3.6
Once Python 3 IDLE is installed, you can go to the Application Menu and launch Python 3 IDLE.
9.1.2 Know How to Manage Python Scripts
• Open new /pre-existing .py script in IDLE as shown in Figure 9.1.
FIGURE 9.1 Opening a script in IDLE
M09 Big Data Simplified XXXX 01.indd 230 5/10/2019 10:22:55 AM
..................Content has been hidden....................

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