Udit Vashisht
Author: Udit Vashisht


Chapter 2 - Quick setup

Chapter 2 - Quick setup

  • Jan. 24, 2019, 3:41 p.m.
  • 2 minutes read
  • 48 Views
Chapter 2 -  Quick setup

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

Install on Windows PC

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

Install on MacOS/Linux

Follow the steps in this post to install 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:-

Learn_python_in_easy_way_in_hindi_1.png

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”

Learn_python_in_easy_way_in_hindi_2.png

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 | 2 months, 1 week ago

Plot Time Series in Python using Matplotlib

Plot Time Series in Python | Chapter 8

In this tutorial we will learn to plot time series data in Python using Matplotlib. We will also be using pandas dataframe to plot time series data in python from ...

Read More
Chapter 7- Numbers, Conversions and Operators
By Udit Vashisht | 8 months ago

In the previous chapter, we learned about various data types. From this chapter onward, we will learn in detail about each data type.

Numbers

This data type stores the numeric values and is immutable. For the beginners, it is sufficient to understand that immutable objects are those which can not ...

Read More
Use Python to send email using SMTP
By Udit Vashisht | 2 months, 3 weeks ago

Use Python to send emails

In this tutorial, we will learn to use python to send emails. If you are new to python, you can see our beginner’s series. In case you are having trouble installing Python, you can see our posts on installing python on MacOS ...

Read More
Search