The following tutorial is meant to be a simple introduction into the Python programming language. It will cover the basics, from simple types and operations to functions, modules and object-oriented programming in Python this tutorial aims to get you started quickly.

If you need help getting a Python interpreter set up on your computer, click here.

For an easy-to-read deep dive into learning Python I would pick up a copy of Learning Python, 5th Edition.

If you’re ready to go, choose a tutorial below. If you have any questions feel free to leave a comment or find me on twitter.

Python Tutorial 1: Types & Operations

This first Python tutorial will cover the basic types and operations that form the building blocks of the Python syntax.

These types in Python can be defined as:

  • Strings
  • Numbers
  • Lists
  • Dictionaries
  • Tuples
  • Files


Python Tutorial 2: Statements, Syntax & Functions

This Python tutorial covers basic Python statements, syntax and functions.

This includes:

  • Introducing Python Statements
  • Assignment, Expressions and print
  • if Tests
  • while and for loops
  • Function Basics
  • Scope
  • Advanced Function Topics


Python Tutorial 3: Modules, Classes & OOP

This Python tutorial covers Python modules, classes and object-oriented programming principles.

This includes:

  • Modules: The Big Picture
  • Module Import Syntax
  • Packages
  • Inheritance
  • Classes
  • Exceptions