Install Python

Python is one of the most popular programming languages today, widely used in data science, bioinformatics, web development, and automation. This document walks you through what Python is, the difference between CLI and GUI, and a fun built-in easter egg — import this — that reveals Python’s design philosophy.

What is python

Python is programming language, first released by Guido van Rossum in 1991. Its core design philosophy emphasizes code readability and simple syntax, allowing programmers to express ideas with fewer lines of code.

What is CLI

CLI (Command Line Interface) is a way of interacting with a computer by typing text commands.

On macOS / Linux it’s called Terminal On Windows it’s called Command Prompt or PowerShell

For example, typing the following in your terminal: ## What is GUI GUI (Graphical User Interface) lets you interact with a computer through visual elements — icons, buttons, menus — using a mouse or touchpad.

Examples: VS Code, Jupyter Notebook, Finder, web browsers

Running import this

Python ships with a fun easter egg — The Zen of Python — written by core developer Tim Peters. It captures the guiding principles behind the language’s design.

import this
The Zen of Python, by Tim Peters

Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than *right* now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea -- let's do more of those!