BashaByte

Free previewLesson 0.130 min

The story of Python

Guido van Rossum, ABC and Amoeba at CWI; the Christmas 1989 hobby project; the name; first release in 1991; design choices (readability, indentation, extensibility); Python 2 to 3; from BDFL to Steering Council; the Zen of Python.

By the end of this lesson you can

  • Explain the problems Guido van Rossum faced with ABC, C and shell scripts, and how Python was designed to solve them.
  • Place the key events of Python's history on a timeline and explain why Python values readability.

01Notes

Why this lesson matters

Christmas week, December 1989, Amsterdam. Guido van Rossum's office is closed for the holidays. He has a home computer, a week with nothing to do, and a problem that has been bothering him for years.

He decides to start a small "hobby" project. Today that hobby project runs the AI tools you use, powers the backend of apps used by millions, and is taught in almost every engineering college in India.

In this lesson you will learn what that problem was, how Python solved it, and why Python looks the way it does. Knowing the "why" will make every rule you learn later feel logical instead of random.

02Concept video

Story video: How Python was born

  1. 0:00Hook
  2. 0:45The problem: ABC
  3. 2:15Amoeba
  4. 3:30Python is born
  5. 4:45Design choices
  6. 6:00Growth and today

03Notes

Notes: the story of Python

1. The problem Guido facedLink to this section

In the early 1980s, Guido van Rossum worked at CWI, a government-run research institute in Amsterdam, as part of the team that built ABC, a language made to teach programming to non-specialists.

ABC was clean and powerful, but it had real limits:

  • It was a closed system. Adding new built-in operations was difficult, and it could only read and write text on the console.
  • Its built-in editor was disliked by most users, and its keywords were all in capital letters.
  • It never became popular with professional Unix and C programmers.

Later Guido worked on Amoeba, a distributed operating system. Writing every small tool in C was slow, and shell scripts could not do enough. He wanted a language as productive as ABC that could also work with the operating system.

2. The Christmas projectLink to this section

In December 1989, with his office closed for the Christmas week, Guido started writing an interpreter for a new scripting language at home. His goal was a descendant of ABC that Unix/C programmers would enjoy. He combined:

Borrowed from What it gave Python
ABC Simple, readable syntax and indentation for blocks
Unix shell Quick scripting for everyday tasks
C Power and access to the system
Modula-3 Clean modules and design

He named it after the British comedy show Monty Python's Flying Circus. The snake logo came later.

In February 1991 he shared version 0.9.0 on the internet. It already had functions and exception handling.

3. Design choices you will use every dayLink to this section

  • Indentation is part of the syntax. Guido called it one of the features dearest to him: it makes code shorter and forces a uniform style, so code written by others is easier to read.
  • One obvious way. Fewer choices means code looks familiar to the next reader.
  • Extensible. Python was built so others could add modules, which is why today's huge library ecosystem exists.
  • Programmer time over machine time. Python is not the fastest language, but you write and debug programs much faster.

4. TimelineLink to this section

Year Event
1989 Guido starts Python as a Christmas hobby project
1991 Version 0.9.0 shared publicly
1994 Python 1.0
2000 Python 2.0
2001 Python Software Foundation (PSF) formed
2008 Python 3.0, a cleaner but incompatible version
2018 Guido steps down as "Benevolent Dictator For Life"; a 5-member elected Steering Council takes over
2020 Python 2 reaches end of life
2025 Python 3.14: free-threaded Python officially supported
2026 Python 3.15 released (9 October); a new version arrives every October

5. The Zen of PythonLink to this section

Type this in Python:

import this

It prints 19 guiding ideas written by core developer Tim Peters, such as "Readability counts" and "Simple is better than complex." You will see these ideas in every module of this course.

Sources

04Try it

Try it: the Zen of Python

1. Press Run to see the Zen of Python.
2. Find the line about readability.
3. Pick one line you like and think: how might it change the way you write code?

You do not need to understand import yet. You will learn it in Module 10.

main.pyRun
import this

In the lesson player this runs in the BashaByte compiler.

05Quick check

Quick check: the story of Python

Four questions on Python's story. These do not affect your exams, but they help you remember.

Q1

Which limitation of the ABC language did Guido decide not to repeat in Python?

  1. It was too fast for beginners
  2. It was a closed system that was hard to extend with new operations
  3. It used indentation for blocks
  4. It was not free to use
Q2

Python is named after:

  1. A snake found in the Netherlands
  2. The British comedy show Monty Python's Flying Circus
  3. Guido's pet
  4. An older language called Py
Q3

Why does Python use indentation to group code instead of curly braces?

  1. Because the first computer it ran on had no brace key
  2. To make code shorter and more uniform, so it is easier to read
  3. Because indentation makes programs run faster
  4. Because C also uses indentation
Q4

Which order of events is correct?

  1. Python 3.0, then Python 2.0, then the Christmas project
  2. Christmas project (1989), first public release (1991), Python 3.0 (2008), Python 2 retired (2020)
  3. First public release (1985), Christmas project (1989), Python 3.0 (2000)
  4. Python 2 retired (2008), Python 3.0 (2020)

You'll answer these in the lesson player, with an explanation after every choice.

Like the way this lesson works?

Enroll in Core Python to take every lesson with live practice and progress tracking.

See the full course