Python

Python Basics #6 — Jupyter Notebook
2 min read

Python Basics #6 — Jupyter Notebook

Jupyter Notebook is a must-learn tool for any Python user. It's loved in data analysis, machine learning, and data visualization, and it's a powerful way to test your code easily. In this lesson we'll cover Jupyter Notebook's basic usage and configuration.

Python Basics #5 — IPython
4 min read

Python Basics #5 — IPython

Install IPython and learn how to use it as an enhanced Python shell.

Python Basics #4 — Variables
5 min read

Python Basics #4 — Variables

Learn the concept of variables and Python's variable naming rules.

Python Basics #3 — Text Editors for Python Coding
0 min read

Python Basics #3 — Text Editors for Python Coding

This lesson introduces the basic features of a text editor for Python coding, plus how to install three popular editors and run Python in each.

Python Basics #2 — Installing Python
0 min read

Python Basics #2 — Installing Python

In this lesson we install Python on Windows and macOS. We'll use the Anaconda Python distribution and try out the IPython and Jupyter Notebook tools that ship with it.

Python Basics #1 — What is Python?
1 min read

Python Basics #1 — What is Python?

An introduction to Python: what it is, what it's good at, and where it shines.

Python — Closures
1 min read

Python — Closures

What closures are, how they're constructed in Python, and when to reach for them.

Python — Decorators
9 min read

Python — Decorators

Learn Python decorators step by step: how to wrap functions to add behavior without modifying them, the @ syntax, decorating functions with arguments, class-based decorators, stacking decorators, and using functools.wraps.

Python — Generators
9 min read

Python — Generators

Following the previous lesson on decorators, this post covers Python generators: what they are, how they save memory, and when to use them.

Python — First-Class Functions
5 min read

Python — First-Class Functions

Learn what first-class functions are in Python: how to pass functions as arguments, return them from other functions, and store them in variables or data structures.