Why should I learn (+ use) Python?#
It's easy to use#
Use the power of the REPL and try away:
Get built-in help:
>>> help()
Welcome to Python 3.6's help utility!
If this is your first time using Python, you should definitely check out
the tutorial on the Internet at https://docs.python.org/3.6/tutorial/.
Enter the name of any module, keyword, or topic to get help on writing
Python programs and using Python modules. To quit this help utility and
return to the interpreter, just type "quit".
To get a list of available modules, keywords, symbols, or topics, type
"modules", "keywords", "symbols", or "topics". Each module also comes
with a one-line summary of what it does; to list the modules whose name
or summary contain a given string such as "spam", type "modules spam".
help>
Scale from simple, one-off scripts or even command line one-liners to world-class applications:
Amongst many others, Dropbox, Google, Instagram, Spotify and YouTube have been known to run parts of their stack with Python, sometimes primarily using Python.
Python also played an important role in getting the 1st ever black hole image in 2019 and NASA's 2021 Mars mission.
It has many applications#
Python is
- useful in many domains, from simple scripts to building web applications to image processing, number crunching and data science (and many many more)
- an excellent "glue language":
- easy integration of C/C++ code (or Rust, Go, Fortran, ...)
- a great rapid prototyping language:
- succinct
- no lengthy compilation
- a lot of "batteries included": its extensive standard library provides a wide variety of tooling, out-of-the-box1
- extensible, i.e. in the need for speed you can write performance critical code as e.g. a C extension (but more often than not Python is just fast enough, anyway)
It has excellent documentation & a great community#
Simply take at look at https://docs.python.org/ and https://www.python.org/community/.
The wider Python open source community delivers many world class 3rd party packages, usually available through the Python Package Index (PyPI).
It is widely used & usage is growing rapidly#
- Currently the fastest growing / dominant language? Python
- ranks no. 1 on the TIOBE Index (02/2025)
- ranks no. 1 on the PYPL PopularitY of Programming Language index (02/2025)
- ranks no. 2 (behind JavaScript) on the Redmonk Programming Language Rankings (06/2024)
- overtakes JavaScript in the GitHub octoverse report top languages (2024)
- huge uptake since around 2012-2014 in the scientific community and data
science:
- machine learning
- AI
- statistical computing
- known to e.g. replace R and Matlab applications due to being
- user friendly and easy to learn,
- more flexible, extensible & general-purpose (i.e. apart from the data science-specific necessities the huge Python ecosystem of standard library and 3rd party libraries is at your hands)
- used by a large and growing community
- as of 2025 is the primary language of choice in the AI and data science field
It is (arguably) the most readable programming language (for many)#
(Take this with more than a grain of salt - beauty is all in the eye of the
beholder )
Readability is key:
- source code is read way more often than written (as in: reading other people's code for learning or review, reading your own code for refactoring/debugging/understanding what you did last month, ...)
- Python is "executable pseudocode" (to some):
- Python uses significant whitespace (indentation) for grouping code blocks (rather than {} braces), which makes it very readable for most people2
Some "Hello, world!" examples#
To each their own...