Python

Python is a general-purpose programming language that is close to my heart. It is one of my go-to languages along with Ruby.

Timeline

  • 1994: Python 1.0 released.
  • 2000: Python 2.0 released.
  • 2008: Python 3.0 released, and maintained in parallel with Python 2.
  • 2020: End of life of Python 2.

Snippets

Run a simple HTTP server, serving files from the current directory:

$ python -m SimpleHTTPServer
Serving HTTP on 0.0.0.0 port 8000 ...

Learning