Python Episodes


Running Python Programs

In Episode 17 we installed Python and used Sublime Text to run a small Python program. In this episode, we are going to explore other tools and techniques of running our Python programs using the Python interpreter. An interpreter or virtual machine is a tool that will convert our program into a language that our operating system can understand. Python runs on all operating systems, Mac OSX, Windows, Linux, etc. We will be using Python 3 for this and most tutorials.



There are several ways to manage Python versions and Python environments and some of these include `Pipenv`, `Anaconda` and `Virtualenv`. This blog will focus on the `Virtualenv`. According to its [online documentation]( Virtualenv is used to create isolated Python environments. Using a virtual environment helps to keep Python projects isolated and the developer does not have to worry about accidentally changing versions of her libraries, thereby unwittingly breaking her application. Below are some quick steps on how to install and create virtual environments with Virtualenv. You'll need to have Python 3 installed for Virtualenv to work.



Anaconda is a free open source software tool and it comes with programming languages like `Python` and `R`; as well as the package manager [Conda]( which you can read more about [here]( According to its [Wikipedia]( page, Anaconda is used by over 6 million people, has over 1400 commonly used data science packages and it can be easily installed on most major operating systems. This tutorial continues from `Episode #17`, and here we learn how to use `Conda` to install and manage our Python environments and packages.


Installing Python

In this screencast, we are going to learn about how to install `Python` on our local machine. Some operating systems such as the `Mac OSX` come preinstalled with Python. To find out if you already have `Python` installed you can fire up your terminal and type in `python`.