DigitalOcean Referral Badge
Udit Vashisht
Author: Udit Vashisht

Chapter 2 - Quick setup

Chapter 2 - Quick setup

  • 2 minutes read
Chapter 2 -  Quick setup

    Table of Contents

How to install Python?

It doesn’t matter which OS you are using, Python3 comes with multiple OS compatibility.

Install Python on Windows PC

Follow the steps in this post to install Python on Windows PC.

Install Python on MacOS/Linux

Follow the steps in this post to Python on MacOS or Linux.

Ditching IDLE

Python comes with it’s own shell called IDLE, which is basically an interface where you can directly write your code and execute it:-


But there are plenty of text-editors with plugins, syntax highlighting etc. available for free. So, I will strongly recommend you to use some text-editor with terminal/shell on MacOS and Powershell on Windows.

Terminal on MacOS can be opened by pressing command+space and typing “terminal” or “iterm2” and hitting return. Once opened, you can select ‘keep in dock’ for quick access in future.

If you are on Linux you probably do not need this advice, but look for “shell” or “terminal” in menu for your window manager.

On Windows 7 and above, PowerShell comes pre-installed, if you are on older OS search online for PowerShell installation on your Windows System. Then search in programmes for PowerShell.

Also if you are thinking that “Python IDLE” above is an easier way to quickly check few lines of codes, then you can launch the similar interpreter in terminal or PowerShell by simply typing “python” or “python3”


Text Editors

There are many text editors available e.g. VIM, Visual Studio, Notepad++ etc. but the most common and easy to use text-editors are:-
1. SublimeText3- It can be downloaded and evaluated for free from here. Though, there is currently no enforced time limit for the evaluation but you will keep on getting a popup to remind you to buy the license key time and again.

Screenshot 2019-01-30 at 5.00.45 PM.png
2. Atom- It is an open-source completely free editor developed by GitHub and can be downloaded from here

Note- This post or website is not getting any kind of affliation from SublimeText3 or Atom, they are recommended because of their performance and utility.

Table of Contents

Chapter 1 - Introduction

Chapter 3 - Executing a Python Script

Related Posts

Plot Time Series in Python | Matplotlib Tutorial | Chapter 8
By Udit Vashisht

Plot Time Series data in Python using Matplotlib

In this tutorial we will learn to create a scatter plot of time series data in Python using matplotlib.pyplot.plot_date(). We will use Pandas Dataframe to extract the time series data from a CSV file using pandas.read_csv().

The ...

Read More

Scatter Plotting in Python | Matplotlib Tutorial | Chapter 7
By Udit Vashisht

Scatter Plot in Python using Pandas and Matplotlib

In this tutorial we will learn to create a Scatter Plot in Python using Matplotlib and Pandas. We will use matplotlib.pyplot()’s plt.scatter() to create the scatter plot

What is a Scatter Plot?

Scatter Plot also known as scatter plots ...

Read More
Matplotlib Stack Plots/Bars | Matplotlib Tutorial in Python | Chapter 4
By Udit Vashisht

Matplotlib Tutorial in Python

*Matplotlib Stack Plots/Bars | Chapter 4

In this chapter we will learn to create Matplotlib/Python Stack Plots/Bars.Stack Plots are also called area graphs/plots in general.

Matplotlib Tutorials in Python - Creating a Simple Stack Plot in Matplotlib

A good example of using a stack ...

Read More
tech tutorials automate python beautifulsoup web scrapping webscrapping bs4 Strip Python3 programming Pythonanywhere free Online Hosting hindi til github today i learned Windows Installations Installation Learn Python in Hindi Python Tutorials Beginners macos installation guide linux SaralGyaan Saral Gyaan json in python JSON to CSV Convert json to csv python in hindi convert json csv in python remove background python mini projects background removal tweepy Django Django tutorials Django for beginners Django Free tutorials Proxy Models User Models AbstractUser UserModel convert json to csv python json to csv python Variables Python cheats Quick tips == and is f string in python f-strings pep-498 formatting in python python f string smtplib python send email with attachment python send email automated emails python python send email gmail automated email sending passwords secrets environment variables if name == main Matplotlib tutorial Matplotlib lists pandas Scatter Plot Time Series Data Live plots Matplotlib Subplots Matplotlib Candlesticks plots Tutorial Logging unittest testing python test Object Oriented Programming Python OOP Database Database Migration Python 3.8 Walrus Operator Data Analysis Pandas Dataframe Pandas Series Dataframe index pandas index python pandas tutorial python pandas python pandas dataframe python f-strings padding how to flatten a nested json nested json to csv json to csv python pandas Pandas Tutorial insert rows pandas pandas append list line charts line plots in python Django proxy user model django custom user model django user model matplotlib marker size pytplot legends scatter plot python pandas python virtual environment virtualenv venv python python venv virtual environment in python python decorators bioinformatics fastafiles Fasta python list append append raspberry pi editor cron crontab Cowin Cowin api python dictionary Python basics dictionary python list list ios development listview navigationview swiftui ios mvvm swift environmentobject property wrapper @State @Environm popup @State ios15 alert automation instagram instaloader texteditor youtubeshorts textfield multi-line star rating reusable swift selenium selenium driver requests-html youtube youtube shorts python automation python tutorial algo trading nifty 50 nifty50 stock list nifty50 telegram telegram bot dictionary in Python how to learn python learn python