Why did Python become so popular?

             As a programmer, my first experience with python was miserable due to the bracket less syntax of the program , indention based code, lack of knowledge about the Good Python IDE and QGIS environment where I have to code in python and I was already confused with the dozen of features of QGIS and working mechanism (still I don't know about it). Although enjoyed my time and work because I love to work on new technologies and specially on Python due to its growing popularity and acceptance in data science field.
Python is a general purpose language. Recently, Python has become so popular as:


Source: octoverse github



Source: Stackoverflow survey 2017



source: IEEE spectrum


The success of python not only stop here, StackOverflow recent trends are also depicted the  popularity of Python as you can see below graph, Python has already surpassed Java and close to JavaScript.
source: stackoverflow trends
So, in number game python heading towards more popularity but what make him so popular while its first release happened in 1991? This urge me to know the reason of Python popularity and without particular order I have found these facts about python:

Readability:

It resembles with English language and mostly use common English words like in, None, not, def for definition, import etc. It not use curly bracket or special keywords to delimit code blocks instead use white-space indention (but I personally prefer curly brackets). Additionally, it use fewer code to program, like if you want to print Salam World you can write simply
print("Salam World")
But what will happen if you want to write same code  in C# or Java or C/C++?? Developers are  better know about #Include, or System namespace, or Main function etc etc, that are necessary to run single line of code.

Library:

One of my colleague asked me that how to install a package/Library/Framework in python? I told him to write this (pip install yourDesiredPacakgeName) in command line. Then, it took hardly one minutes to complete and my friend yell! This is very simple!. Yes, it simple and there are huge numbers of libraries framework available you can install in a minute. Python provide large number of third party libraries related to data science, web development game dev etc and these libs are super easy to install.

Data-Science Support:

Python has become no 1 choice in data science and recently surpassed it close contender "R". It has great support of libraries including sciPy, NumPy and Pandas.

Other reasons includes:

  1. Mostly use in scientific domain, academic research and most schools/university are adopting it as first place language.
  2. Python has strong, active and huge community and Giant Sponsors.
  3. Python Success in different areas
  4. Great documentation by third party.
  5. Python extensively using in most platform and fields like embedded devices(RaspberryPi App), Web, Desktop, Data science, game (pygame), server configuration etc.
  6. Easy for newcomers, with little efforts they can write working piece of code.
  7. Able to run on Cross platform (windows, Linux, Mac OS)
  8. Google, the corporate backer of the language.

Conclusively, I can say that python is popular due to its simplicity, huge library support, acceptance in research and universities/schools, and finally its immense support and use in data science field.

If I have forget any important aspect of python popularity please inform met, i will be happy to learn and share it.