How should I start learning Python?

 

How should I start learning Python?

How to learn Python?

To learn Python programming language we should know what a language is first. In general terms language is a way of communication. This means we humans use language as a medium of communication with each other. So, in the same way, we can communicate by computer we use computer language.

We know a computer is a machine and it can only understand ‘on’ and ‘off’. So we should talk with it in the same manner as 0 or 1 (on/off). There are lots of programming languages that have syntax in the English language and it is called high-level language. So it needs a translator. There are two types of translator namely Compiler and Interpreter. A compiler translates the whole syntax into machine understandable form and Interpreter one line at a time.

Python is an Interpreter based language.

Why do we learn Python?

  • There are various reasons to learn python.
  • Python is easy to learn
  • It is a high-level language
  • There are lots of online tutorials available for free
  • Currently Python language developer in huge demand
  • Python used in AI, machine learning, and data analytics
  • You can make a good career out of it.
  • Wide range of helpful community
  • Python freelance jobs are also available online 

How do we learn the Python programming language?

To learn any programming language we should have Interpreter and one IDE(Integrated Development Environment) for developing programs.

Start learning the simple syntax of Python languages like the addition of two numbers, subtraction, division, and multiplication.

Example

a=10

b=20

c=a + b

Print C

Next, you learn the different data types of the python language

Text Type:       str

Numeric Types:          int, float, complex

Sequence Types:        list, tuple, range

Mapping Type:            dict

Set Types:       set, frozenset

Boolean Type: bool

Binary Types:  bytes, bytearray, memoryview

And the use of all the data types.

Then start learning conditional statements like if…else, if elif else for checking condition. Such as finding the greater and smaller numbers between two numbers. Like

a=20

b=40

if a>b:

  print “a is greater”

else:

  Print “b is greater”

After then one should learn looping such as for and while loop.

Then start learning python inbuilt and user-defined functions or methods and so on.

You can study as follows

 Introduction

  • Getting Started
  • Keywords and Identifiers
  • Statements & Comments
  • Python Variables
  • Python Datatypes
  • Python Type Conversion
  • Python I/O and import
  • Python Operators
  • Python Namespace

Python Flow Control

  • Python if...else
  • Python for Loop
  • Python while Loop
  • Python break and continue
  • Python Pass

Python Functions

  • Python Functions
  • Function Argument
  • Python Modules
  • Python Package
  • Python Lambda Functions

Python Datatypes

  • Python Numbers
  • Python List
  • Python Tuple
  • Python String
  • Python Set
  • Python Dictionary

Python Arrays

Python Files

  • Python File Operation
  • Python Directory
  • Python Exception
  • Python Exception Handling
  • Python User-defined Exception
  • Python Write CSV File
  • Python read csv file
  • Python Write Excel File

Python Object & Class

  • Python OOP
  • Python Class
  • Python Inheritance
  • Multiple Inheritance
  • Operator Overloading

Python Advanced Topics

  • Python Iterator
  • Python Generator
  • Python Closure
  • Python Decorators
  • Python Property
  • Python RegEx 


You can consult the following resources to learn the python programming language

I highly recommend following each one of them, or you can consult any of them as all are good

If you want to learn it from scratch then I must recommend you to read "Supercharged Python” 
Supercharged Python is written for people who’ve learned the fundamentals of the language but want to take their skills to the next level. 

After learning the basic concept of programming, you can go for advanced Python programming such as Object-Oriented Programming, Website building with flask, AI, Analytics, etc.

Then you can teach others too. This will lead you to understand the master of the subjects easily.

If you want to learn from me then you can contact me via my

WhatsApp number

or via email: digikmanwar@gmail.com

Happy Python programming learning.

More python related topics


SHARE THIS
Previous Post
Next Post