SaralGyaan, Saral Gyaan, Saral Gyan is website which provides free tutorials of Python for absolute beginners in English and Hindi, Learn Python in Hindi, Learn Python for absolute beginners, Learn Python, bootstrap, django, git

Hari S
Author: Hari S


Chapter 1 - Introduction

Chapter 1 - Introduction

  • Jan. 24, 2019, 2:31 p.m.
  • 3 minutes read
  • 61 Views
Chapter 1 - Introduction

Curiosity and zeal to learn something new have probably brought you here. It doesn’t matter whether you are new to programming or switching from some other redundant or less useful language, you must be having a few very important question in your mind. We will be answering most of them in this section

What is Python?

The official website says as under:-

Python is an interpreted, object-oriented, high-level programming language with dynamic semantics. Its high-level built in data structures, combined with dynamic typing and dynamic binding, make it very attractive for Rapid Application Development, as well as for use as a scripting or glue language to connect existing components together. Python’s simple, easy to learn syntax emphasizes readability and therefore reduces the cost of program maintenance. Python supports modules and packages, which encourages program modularity and code reuse. The Python interpreter and the extensive standard library are available in source or binary form without charge for all major platforms, and can be freely distributed.

Quite overwhelming, isn’t it? For a layman, Python is a very popular programming language created by Guido van Rossum in 1991.

What can I do with Python?

Now, this is the question, where the things get interesting. Python can be used for a lot of things, but the most important and popular usage of python are:-

  1. Server-side web development using Django or Flask.
  2. Data Sciences including Machine Learning, Data Analysis & Visualisation.
  3. Automating the stuff also known as scripting.

Why Python?

I will answer this by asking another question- Why not? Go through the following reasons and decide yourself:-

  1. It has a very easy to learn and readable syntax. e.g. print(“Hello World”) will do exactly the same how it appears in plain English. It will print- “Hello World”.
  2. It is compatible with all major platforms and systems be it Windows, MacOs, Linux or Raspberry Pi.
  3. It has a robust standard library which has a wide range of modules which can be used out-of-the-box for many of your use-cases or can be tweaked with.
  4. It runs on an interpreter system and the code can be executed quickly after writing it.
  5. It fully supports object-oriented programming as well as functional programming.
  6. It is ever evolving language.

Which Python version should I learn?

Without giving any explanation I will urge you to start with the latest stable version of Python 3. At the time of writing this tutorial, the latest stable version is Python 3.7.2.

Table of contents

Chapter 2 - Quick Setup



Related Posts

If __name__ == '__main__' in Python
By Hari S | 4 weeks, 1 day ago

What does if __name__ == ‘__main__‘in python means?

In python, you must have come accross the following code :-

if __name__ == '__main__': main() 

In this tutorial, we will learn in detail what does the above statement means. As per official documentation:

‘__main__‘ is the name of the ...

Read More
Scatter Plotting in Python | Matplotlib Tutorial | Chapter 7
By Hari S | 2 weeks, 3 days ago

Scatter Plots in Python using Matplotlib

Scatter Plotting in Python |Chapter 7

In this tutorial we will learn everything about plotting a scatter plot in Matplotlib using Python. We will be using matplotlib.pyplot()’s plt.scatter() to create the scatter plot in Matplotlib. You will find all ...

Read More
Chapter 7- Numbers, Conversions and Operators
By Hari S | 6 months, 2 weeks 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
Search