#Programming Language
156 posts
Python Basics #7 — Working with Strings
Learn how to work with Python strings: quoting and escaping, concatenation, indexing and slicing, common string methods, and string formatting.
Python Basics #9 — Tuples
A tuple is very similar to a list, but with key differences. Learn how to define tuples, how they differ from lists, and when to use a tuple instead of a list.
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
Install IPython and learn how to use it as an enhanced Python shell.
Python Basics #4 — Variables
Learn the concept of variables and Python's variable naming rules.
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
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?
An introduction to Python: what it is, what it's good at, and where it shines.
Python — Closures
What closures are, how they're constructed in Python, and when to reach for them.
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
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
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.