Why should you learn Python programming language?

Python is a multi-purpose programming language created in the late 1980s and named after Monty Python drama group. Let's TipsMake.com find out 3 reasons you should learn Python programming language in this article!

Let's TipsMake.com find out 3 reasons you should learn Python programming language in this article!

  1. Python functions are user defined
  2. Python function parameter
  3. Recursive function in Python

When I need to build a web application, I use the Python programming language. When I need to automate some small tasks on the system, I go to Python. When I want to find the most popular colors in a picture, I use Python. When . OK, I think maybe you've figured out what I'm going to say right now. Basically, when I need to code something and using language is not important, I will use the Python programming language.

Why should you learn Python programming language? Picture 1

What is Python ?

Python is a multi-purpose programming language created in the late 1980s and named after Monty Python drama group. Python is used by thousands of people in microchip testing at Intel, used in Instagram applications, to build video games with PyGame library. It is small and close to the English language, there are hundreds of third-party libraries.

So why do I personally choose the Python programming language and recommend it to as many people as possible? It comes from the following three main reasons:

1. Easy to read

Why should you learn Python programming language? Picture 2

Python is very similar to English, using words like ' not ' and ' in ' so when you read a program, the script or read aloud to others will not feel like you are speaking some secret language. . This is also supported by strict semicolon rules in Python's sentence, meaning that there won't be curly braces ({}) in your code.

In addition, Python has a set of rules, called PEP 8 , that instructs all Python programmers on how to format their code. This means that you always know where to place new lines and, more importantly, that every Python script you refer to, whether it's written by a beginner or by an experienced expert, looks will be very similar and easy to read. In fact, the Python code lines are written by a programmer with more than 5 years of experience like me, the author of the article, which looks very similar to the Python code created by Guido van Rossum.

2. Rich library

Why should you learn Python programming language? Picture 3

Python has existed for more than 20 years, so there are lots of code written in Python built over decades. Python is an open source language, many of which are released for others to use. Almost all of them are gathered on the website https://pypi.python.org, pronounced " pie-pee-eye " or called by a more common name " the CheeseShop ".

You can install this software on the system for use by your own projects. For example, if you want to use Python to build scripts with command line arguments, you should install the "click" library and then import it into your scripts and then use it. There are libraries that can be used for quite a few cases from image manipulation, to scientific computing and server automation.

3. Large user community

Why should you learn Python programming language? Picture 4

Python has many user groups everywhere in the world, often called PUGs and they conduct large conferences on every continent except Antarctica. PyCon NA, the largest Python conference in North America, sold 2,500 tickets in 2015. This conference reflects Python's commitment to diversification, as more than 30% of speakers are women.

PyCon NA 2013 also started the trend of introducing a workshop called " Young Coder ", where attendees taught Python to children aged 9 to 16 within a day, letting them get used to this language; finally help them hack and mod some games on Raspberry Pi that they get. Mod game can be simply adding new items, weapons, characters, enemies, game screens, storylines (called partial game mods) or more complicated than changing gameplay and game modes ( called a full game mod). Being part of such a positive community will create a lot of motivation for you.

I personally feel happy to be able to share my favorite programming language with the Treehouse community and hope the reasons I like Python will also help you decide to join it with me.

Here is a short video of Kenneth giving examples of the best Python use cases:

Author: Kenneth Love

Refer to some more articles:

  1. More than 100 Python exercises have solutions (sample code)
  2. Anonymous function, Lambda in Python
  3. 7 reasons you should learn Swift programming language

Having fun!

« PREV
NEXT »